Unquoted attribute values

by Benny Neugebauer

<a class="link" href="" target="_blank">vote4code</a>

<a class=link href= target=_blank>vote4code</a>

Google recommends to "reduce the amount of data used by your resources" ( But there are some issues to consider:

Benny Neugebauer

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


I guess not :)


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

Niels NTG

Sign in to comment!