Recommended Articles. Accept. The below example shows three possible values of align attribute: left, center and right. The
tag supports the Global Attributes and the Event Attributes. Here's a table of some other attributes that are readily usable with many of the HTML tags. For example, the paragraphelement in the example carries an attribute whose name is align, which you can use to indicate the alignment of paragraph on the page.
The class attribute is used to associate an element with a style sheet, and specifies the class of element.
All attributes are made up of two parts − a name and a value.
Most of the browsers will render the text within the
tag in Italic but you can change this behavior by CSS styling. 2003-2008 Erack Network | Copyright | Privacy Policy | Advertising InformationHTML - Body Margins.
Now try to bring your cursor over "Titled Heading Tag Example" and you will see that whatever title you used in your code is coming out as a tooltip of the cursor. leftmargin - Sets a left hand margin for your body element. In the given example, the
tag is used with the