by divbzero · 6y ago · 0 comments
Closing tags are optional for the following tags:
html
head
body
p
dt
dd
li
option
thead
th
tbody
tr
td
tfoot
colgroup
The following tags are self-closing and should not have closing tags: meta
img
input
hr
br
Attributes can be left unquoted if the following characters don’t appear in the attribute value:- Single quote (')
- Double quote (")
- Space ( )
- Equal sign (=)
- Greater-than sign (>)