In HTML5, you can take all of these groovy classnames and use them as values for id attributes. Yes, HTML5 is that awesome.

<p id="#">Foo.
<p id="##">Bar.
<p id="♥">Baz.
<p id="©">Inga.
<p id="{}">Lorem.
<p id="“‘’”">Ipsum.
<p id="⌘⌥">Dolor.
<p id="{}">Sit.
<p id="[attr=value]">Amet.
<p id="[>>>><<<<-]>.>....>.<<.>..------.--------.> .>.">Hello world!

…you get the idea. I remade the same demo page as before to use ids instead of classes.

The id attribute just got more classy in HTML5 · Mathias Bynens

E da ciò trae spunto il nome di un nuovo progetto ;)

Note

  1. postato da gpessia