A Propusal for A New Pseudo Element Called :icon

Take a look to this HTML5 code as shown here: <menu type=”toolbar”> <command type=”radio” radiogroup=”alignment” checked=”checked” label=”Left” icon=”icons/alL.png” onclick=”setAlign(‘left’)”> <command type=”radio” radiogroup=”alignment” label=”Center” icon=”icons/alC.png” onclick=”setAlign(‘center’)”> <command type=”radio” radiogroup=”alignment” label=”Right” icon=”icons/alR.png” onclick=”setAlign(‘right’)”> <hr> <command type=”command” disabled label=”Publish” icon=”icons/pub.png” onclick=”publish()”> </menu> The … Continue reading

Let’s free A and HREF!

Take a look to this example: <nav class=”toolbar”> <ul> <li><a herf=”index.html”>Home</a></li> <li><a href=”about.html”>About</a></li> <li><a href=”downloads.html”>Downloads</a></li> <li><a href=”contact.html”>Contact</a></li> <li><a href=”javascript:bookmark()”>Bookmark</a></li> </ul> </nav> Isn’t better if it was possible to be written like this: <toolbar> <li herf=”index.html”>Home</li> <li href=”about.html”>About</li> <li href=”downloads.html”>Downloads</li> <li … Continue reading