Single-quoted attributes are valid HTML

The subj is a small surprise for me, but it's true - single quotes for attributes are valid HTML:

<input type='checkbox' />
By default, SGML requires that all attribute values be delimited using either double quotation marks (ASCII decimal 34) or single quotation marks (ASCII decimal 39).
AttValue ::= '"' ([^<&"] | Reference)* '"'  | "'" ([^<&'] | Reference)* "'"


Popular posts from this blog

DIY: Business cards in LaTeX

Python vs JS vs PHP for embedded systems

Shellcode detection using libemu