Created
November 21, 2011 15:14
-
-
Save jedahan/1382919 to your computer and use it in GitHub Desktop.
Perfectly valid html5 page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul> | |
| <li> item one | |
| <li> item two | |
| <li> item three | |
| </ul> | |
| <table> | |
| <caption> Selector engines, parse direction</caption> | |
| <thead> | |
| <tr><th>Left to right <th>Right to left | |
| <tbody> | |
| <tr><td>Mootools <td>Sizzle | |
| <tr><td>Sly <td>YUI 3 | |
| <tr><td>Peppy <td>NnMatcher | |
| <tr><td>Dojo Acme <td>querySelectorAll | |
| <tr><td>Ext JS | |
| <tr><td>Prototype.js | |
| </table> |
Author
Is this valid xhtml? Also I don't see a lot of xhtml hate...
Author
Also, for reference, see http://www.youtube.com/watch?feature=player_embedded&v=WxmcDoAxdoY#! ~ 17minute mark
No its not valid xhtml. No one hates xhtml, they just don't use it. I like all tags to have an opening and closing, or be explicitly closed (e.g.
is valid xhtml, ?
is not).
Author
Different strokes then. Omitting closing tags on
If one likes semicolons in code, they probably like closing tags. I for one can do without the visual clutter (though am not yet ready to go full-lisp :) )
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The fact that this is valid is why I don't understand why people don't like xhtml.