Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Cabbit

macrumors 68020
Original poster
Jan 30, 2006
2,128
1
Scotland
I've been trying to validate some of my HTML5 coding, it seems that i am really messing up the use of <article> by putting it inside <body> or a <div> yet this seems to be logical that there is a <body> and it has a <article> and that these can have <section>.

But alas validator says no, is this my problem or the validators problem?
 

eponym

macrumors 6502
Jul 2, 2010
297
3
<article> is an HTML5 element. You're going to have validation issues outside of experimental HTML5 validators.
 

Cabbit

macrumors 68020
Original poster
Jan 30, 2006
2,128
1
Scotland
I worked it out i think, i had some spelling mistakes and it seems articles need things like headers and stuff to be fully valid i think.

Its valid html5 now so all's good.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.