|
|
|
|
|
by johncmouser
2232 days ago
|
|
wait, for which tags does this apply? because won't <p>one<p>two<p>three<p>four
create four <p> elements nested together? does this only work with <a> tags?your third point about the triple-identical (reminds me about TCP ACK and Re-transmit haha) is pretty nuts though |
|
No, because “A p element's end tag may be omitted if the p element is immediately followed by an address, article, aside, blockquote, details, div, dl, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, main, menu, nav, ol, p, pre, section, table, or ul element, or if there is no more content in the parent element and the parent element is an HTML element that is not an a, audio, del, ins, map, noscript, or video element, or an autonomous custom element.” https://html.spec.whatwg.org/multipage/syntax.html#syntax-ta...