The Style Keyword: The Difference Between Tag and Attribute

Introduction The style keyword in HTML is special, because it’s both a tag (<style>) and an attribute (<p style=”color: red;”>). It’s easy to confuse the two, as each represents very different ideas. The style Tag When used as a tag and without the scoped attribute (discussed below), it must be included as a child of […]

Excellent Opportunity to Use The <abbr> Element

I was recently searching for the contact info of a colleague. The search results included the division in which the employee works. The listing for the second result, highlighted with a red circle, is “PLT MNTC FM.” Exactly—I don’t know what it means, either. This was a perfect opportunity for the webmaster to use the abbreviation element […]