Yep, I've used it that way.
<nav> can also be in the <footer>
<body>
<header>
<h1>Wake up sheeple!</h1>
<p><a href="news.html">News</a> -
<a href="blog.html">Blog</a> -
<a href="forums.html">Forums</a></p>
<p>Last Modified: <time>2009-04-01</time></p>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="articles.html">Index of all articles</a></li>
<li><a href="today.html">Things sheeple need to wake up for today</a></li>
<li><a href="successes.html">Sheeple we have managed to wake</a></li>
</ul>
</nav>
</header>
<div>
<article>
<header>
<h1>My Day at the Beach</h1>
</header>
<div>
<p>Today I went to the beach and had a lot of fun.</p>
...more content...
</div>
<footer>
<p>Posted <time pubdate datetime="2009-10-10T14:36-08:00">Thursday</time>.</p>
</footer>
</article>
...more blog posts...
</div>
<footer>
<p>Copyright © 2006 The Example Company</p>
<p><a href="about.html">About</a> -
<a href="policy.html">Privacy Policy</a> -
<a href="contact.html">Contact Us</a></p>
</footer>
</body>
Miko, one think I did read so far in what I have found was that everything we've learned so far about xhtml and css is out the window! (okay not literally, but you know what I mean).Thank you for confirming it.
Guess I should stop listening to people i work with and just do my own thing !![]()
Whilst tossing html5 into design is ok, the problem is that you have to still think backwards. So in essence, xhtml only design isn't going anywhere. Just like this sites design, whilst it has html5 tags, its not html5, because it has to contain standard xhtml in order to meet the current browsers and what is still a major market in backward browser versions.I was JUST getting a handle on xhtml and they go throw html5 at me...so now I am on the fast track to trying to make sense of it.
Just because some browsers don't support it, does that mean it isn't something? I'm just curious, we can adapt to use HTML5 but that doesn't mean we expect every single browser in use to adapt to it also. HTML5 (as officially named on WHATWG I believe) uses both HTML and XHTML standard. No elements are deprecated, just obsolete.Whilst tossing html5 into design is ok, the problem is that you have to still think backwards. So in essence, xhtml only design isn't going anywhere. Just like this sites design, whilst it has html5 tags, its not html5, because it has to contain standard xhtml in order to meet the current browsers and what is still a major market in backward browser versions.
Can you define a HTML5 website? I find XenForo makes great use of HTML5. It allows the use of custom attributes using the data- prefix, uses HTML5 elements and HTML5 semantics and this looks fine in all major browsers.People confuse css3 with HTML... and because a site may use CSS3 and opt to use a few html5 tags for semantics, it doesn't make a site html5. You couldn't build a live html5 website right now, because it would fail in IE8 and still in prior FF and chrome versions being used. It would only be pure html5 for a minority of the web at this point.
You can style them with the use of JavaScript. Still effectively styling themIts great to begin using it now for semantic and instructional purposes, but realistic design purposes... you still need to include xhtml web practices in the actual coding for styling... because you can't style a header or nav tag at present for the majority.
Disaster waiting to happen, IMHO.You can style them with the use of JavaScript. Still effectively styling them
Possible, yes. Advisable? Not in my book.Yeah, it's not ideal to do so but it's still possible.
We use essential cookies to make this site work, and optional cookies to enhance your experience.