I\'ve tried checking other answers, but I\'m still confused — especially after seeing W3schools HTML 5 reference.
I thought HTML 4.01 was supposed to \"allow\" singl
In validation, of this question, it really depends on what !DOCTYPE
you are trying to get verification through.
My personal favorite is 4.01 Trans
where I just use the
and it clears the warnings and errors that may have popped up during validation
Strict is a much more complicated beast, It HATES "SHORTTAGS"
and quite literally only wants the
In HTML5
or the "LAX" of the code world, there really isn't a right answer because it detects every example you put up
there as correct......
In the end, I think all that matters is what validation YOU PREFER
or the person that you are working for prefers
... with the lackadaisical
movement in code strictness in html5
we are seeing some VERY LAZY CODERS