Which browsers (historic or current versions) support any of the HTML/SGML SHORTTAG constructs?
Have any "widely" used browsers ever supported SHORTTAGS in any way? (IE6 I'm looking at you.)
SHORTTAG Example:
<p<a href="/">first part of the text</> second part
Got curious after reading an answer demonstrating difficult to parse "valid" HTML.
Tested my self on IE 7, Google Chrome 17, Firefox 11. None of which seemed to support them.
HTML5 is now compatible with all popular browsers (Chrome, Firefox, Safari, IE9, and Opera) and with the introduction of DOCTYPE, it is even possible to have a few HTML features in older versions of Internet Explorer too.
Some attributes from HTML4 are no longer allowed in HTML5 at all and they have been removed completely. img and iframe. caption, iframe, img, input, object, legend, table, hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th, thead and tr. table, tr, td, th and body.
No major Browser supports tags like
</>
cause feature like this hinders/hampers "omissibility" which is far more important and useful feature for most SGML languages.
If you omit a single closing tag in language+browser that support "SHORTTAGS" the whole structure might be damaged.
Empty elements in SGML, HTML, XML, and XHTML:
"In HTML, starting from the very first specification (HTML 2.0), up to and including HTML 4.01, both the omissibility features and the minimizability features have been "on". But while omissibility is supported by Web browsers, though with several bugs, minimization features were not implemented in browsers."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With