CSS and SVG XML Title Tutorial

CSS and SVG XML Title Tutorial

CSS and SVG XML Title Tutorial

In yesterday’s CSS and SVG XML Primer Tutorial the emphasis was on SVG+XML and today we want to broaden the scope to how that SVG contributes to the construction of your webpage’s CSS, which we now do for non-mobile users, in their textarea title attributes, via them hovering over any of the textarea elements.

If its CSS here, how can Javascript (DOM) help, as we tagged with yesterday’s and today’s tutorials? Well, the great thing about CSS styling is that, using inline CSS styling it can be dynamic by just adding <style> CSS Styling </style> stylesheet styling by appending it to document.body (or some other element’s) innerHTML DOM attribute. It is noteworthy that inline CSS can be usefully placed in both document.head and document.body webpage sections, and that priority goes with the latest “mention” (hence the Cascading Style Sheet meaning of CSS) or via the use of “!important” clause.

We also add the prefix and suffix strings making up the CSS styling around the SVG in small, so far uneditable, span elements above and below.

So feel free to try the more contextual “proof of concept” second draft web application.


Previous relevant CSS and SVG XML Primer Tutorial is shown below.

CSS and SVG XML Primer Tutorial

CSS and SVG XML Primer Tutorial

Ever since SVG came on the scene CSS got that much more interesting. You can apply SVG+XML protocol in your CSS styling to create your own tailored, and dynamic …

  • background (image) … with or without an opacity consideration (via a linear gradient)
  • border image … not for the faint hearted
  • cursor … non-mobile only

… and we’ve written a “proof of concept” first draft web application you can try, here, even below, where seeing the SVG might tweak your “ideas palette”!

If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.

This entry was posted in eLearning, Event-Driven Programming, Tutorials and tagged , , , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>