Closed vinilneves closed 1 year ago
"Don’t mix empty element format" could be "always self close empty elements"
Instead of
Bad: <img alt="HTML Best Practices" src="/img/logo.png"> <hr /> Good: <img alt="HTML Best Practices" src="/img/logo.png"> <hr>
Bad:
<img alt="HTML Best Practices" src="/img/logo.png"> <hr />
Good:
<img alt="HTML Best Practices" src="/img/logo.png"> <hr>
Could be
Bad: <img alt="HTML Best Practices" src="/img/logo.png"> <hr /> Good: <img alt="HTML Best Practices" src="/img/logo.png" /> <hr />
<img alt="HTML Best Practices" src="/img/logo.png" /> <hr />
PS. Also use html type for code blocks
No. Just don’t mix. Omitting slash is completely valid.
"Don’t mix empty element format" could be "always self close empty elements"
Instead of
Could be
PS. Also use html type for code blocks