/
with best regards, Omar KN, Stockholm, Sweden
Related:
link1
html - Are (non-void) self-closing tags valid in HTML5? - Stack Overflow
link2
HTML 5: Is it <br>, <br/>, or <br />? - Stack Overflow
--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/6cfb6225-e06f-4ab9-ba6d-8b90a7c0ff00n%40googlegroups.com.
11773 Slow Poke Lane, Grass Valley, California 95945
Byers is committed to protecting your health and safety with a Virtual Consultation.
Reviews on Google • Give Us Feedback
We are here to help you Stay Safe!
So now BREAK should be only <br> in HTML5.Until a week ago the w3 corrector marked <br /> as the only correct way.w3:"Self-closing tag syntax in text/html documents is widely discouraged." Some for
Modern HTML must follow all the XML rules, which is that tags in pairs look like "<foo></foo>" and standalone tags look like "<foo/>". Whether or not there is whitespace before a "/" is a stylistic choice, but the "/" MUST be present in standalone tags. Having "<br>" by itself is wrong, full stop. -- Darren Duncan
There are various concrete syntaxes that can be used to transmit resources that use this abstract language, two of which are defined in this specification.
The first such concrete syntax is the HTML syntax. This is the format suggested for most authors. It is compatible with most legacy web browsers. If a document is transmitted with the
text/htmlMIME type, then it will be processed as an HTML document by web browsers. This specification defines the latest HTML syntax, known simply as "HTML".The second concrete syntax is XML. When a document is transmitted with an XML MIME type, such as
application/xhtml+xml, then it is treated as an XML document by web browsers, to be parsed by an XML processor. Authors are reminded that the processing for XML and HTML differs; in particular, even minor syntax errors will prevent a document labeled as XML from being rendered fully, whereas they would be ignored in the HTML syntax.