HTML5 Globals and You

Posted on 31. May, 2010 by in template customization

Much has been written on the big ticket changes in HTML5, like forms, semantics, and media, but information on the less splashy changes is sparse. While global attributes aren’t the most sexy change of HTML5, they are the change that you will be using over and over and over as you migrate to the new specification. Introduction: What is a Global Attribute? While the term attribute relating to HTML might be a bit fuzzy to you, you certainly use them with almost every element that you write. HTML attributes give elements meaning. They also give context. They are both the adjective and verb for an element, if you think of the element as the noun. For instance: <div></div> Doesn’t really have much meaning. ...

Article source: Nettuts+.