HTML
Unquoted attribute values

by Benny Neugebauer

<a class="link" href="https://vote4code.com/" target="_blank">vote4code</a>

<a class=link href=https://vote4code.com/ target=_blank>vote4code</a>

Google recommends to "reduce the amount of data used by your resources" (https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent). But there are some issues to consider: https://mathiasbynens.be/notes/unquoted-attribute-values

Benny Neugebauer

What if you have multiple classes.. Will that work: <a class=link external href=https://vote4code.com/ target=_blank title=Hello, world!>vote4code</a>

Lipis

I guess not :)

Lipis

Always except if the value is a number or a boolean.

Niels NTG

Sign in to comment!