Super HTML 55

Much like HTML 4, HTML 5 will take a long time likely before being adopted online, but why not get a jump start on coding in it today.

If your a beginner to HTML 5, and you understand HTML 4. You probably code everything with div tags.

“5” simplifies the div to have a name. At first I was thinking why would you want to ever do this, but then I considered most of the time if you get thrown into a project if ever site uses the name nav that would simplify the process of looking through style sheet to see what id’s or classes do.

Saving you valuable coding time.

To set the CSS styles on a nav tag you simply just use a style like this:

nav a,nav a:hover{
font-size:14px;
font-family:Verdana;
color:#000000;
}

Example Below

This Navigation uses the HTML 5 nav tag

* Please note this will only display correctly using Mozilla or Chrome.

IE doesn’t support these features yet.

Leave a Reply

  • (will not be published)