Results 1 to 8 of 8
Thread: Styling HTML5...
Sep 10, 2011, 02:50 #1
- Join Date
- Jun 2005
- Liverpool, UK
- 0 Post(s)
- 0 Thread(s)
I'm pretty new to HTML5 and have been keeping it at arms length until I had a project of my oen where I could experiment with it. (I'm loving microdata btw)
I don't want to go too far down the line with my site to find I've got the basics wrong so I want to ask about styling.
Normally using <div>s I'd add a style the usual way:
<div id="header">Header Stuff</div> <div id="navigation">Nav stuff</div> <div id="body-section">Body stuff</div>
<header>Header Stuff</section> <nav>Nav stuff</section> <section>Body stuff</section>
So can I add styles to these like:
<header id="header">Header Stuff</section> <nav id="navigation">Nav stuff</section> <section id="body-section">Body stuff</section>