3 ms·
In html 2.0 the definition makes a bit more sense than what the definition in the newest whatwg spec. https://www.rfc-editor.org/rfc/rfc1866#section-3.2.5 http
by SushiHippie 2y ago
In html 2.0 the definition makes a bit more sense than what the definition in the newest whatwg spec.
https://www.rfc-editor.org/rfc/rfc1866#section-3.2.5 https://www.rfc-editor.org/rfc/rfc1866#section-3.2.5
Basically <!> was valid, and -- only served as the start and end of a comment, and between <! and > you could have multiple "comments", example from the rfc:
<!-- another -- -- comment -->
In the current spec it is basically defined as starts with "<!--" and closed by "-->".
https://html.spec.whatwg.org/#comments https://html.spec.whatwg.org/#comments