I have built a simple page with html5, following tutorials on the internet and a book that I have but I'm not sure if the elements, logic and strucure that I have used are corrected especially as I have still had to use divs.
Could somebody please check the code to see if they see any faults or if I should be using different elements in certain places? I 've validated in W3C and it's all good:
Aprendems microsite en HTML5
I know it's a very simple page but would appreciate the help.
You're using all the elements in all the wrong places ...
<header> is to be used for the header of the website; your website doesn't really have one, but for example on this forum it would be the top of the top of the page with the logo, slogan, search field, etc. As such it would be highly unlikely to several <header> elements, and it's certainly not meant to use around every <hn> tag. Maybe you're confusing it which <hgroup> (which is already removed from html5 -- or "html", or whatever it's called today) spec AFAIK).
Then there is only one section in your page, which is also incorrect; the <div class="advantages"> and <div class="features"> are both <sections>s, not <divs>.
thanks for the help, so if I change those divs (advantages & features) to sections, do I also have to put the content into article tags too? Is it right that these two sections should be in a global section like I have done?
Also instead of <header> what should I use for the tagline "Encuentra el Curso de Educadora Infantil...
This topic is now closed. New replies are no longer allowed.