July 23, 2010, Newsletter Issue #140: Common Attributes

Tip of the Week

In an effort to avoid redundancy, IŽll list here the 6 most common tag attributes (more than 85% of html tags list these attributes). These attributes all have default values, which means that you donŽt have to list them unless you want to change thier values.


ID="NAME" - Document-wide identifier that can be used to give an HTML element a unique identifier within a document.


CLASS="TEXT" - A list of class names (seperated by commas), that indicates that the element belongs to a specific class or classes of style definitions.


STYLE="TEXT" - Provides rendering information specific to this element.


TITLE="TEXT" - Defines an advisory title that will display additional help.


DIR="(LTR|RTL)" - Indicates the direction that the text will be read, Left to Right or Right to Left.


LANG="NAME" - Specifies the language that the element and its content are written in.

About LifeTips

Now one of the top on-line publishers in the world, LifeTips offers tips to millions of monthly visitors. Our mission mission is to make your life smarter, better, faster and wiser. Expert writers earn dough for what they know. And exclusive sponsors in each niche topic help us make-it-all happen.

Not finding the advice and tips you need on this Html Tip Site? Request a Tip Now!


Guru Spotlight
Mary White