OscarGodson / HTML6

A spec to HTML6
http://html6spec.com
169 stars 25 forks source link

Tags should be closed in html6 #34

Closed exabrial closed 9 years ago

exabrial commented 9 years ago

A tag like

<html:link src="js/main.js" title="Main Script" type="text/javascript">

Does not communicate developer intent. Is the next tag a child of <html:link> or a peer?

Simply closing the tag with one additional, JUST ONE, just one extra, keystroke simplifies parsing of the document and sends an extremely clear message. Simplifying the document structure should also lead to improved render times, as browsing engines don't have to look ahead and make all sorts of guesses.

<html:link src="js/main.js" title="Main Script" type="text/javascript" />
cshaa commented 9 years ago

Yeah, totally agree. But it's a duplicate of issue #8. Close this?

exabrial commented 9 years ago

Yep definitely a duplicate. Thanks!