![]() |
|||||||||||||
| Home --- Topics --- Articles --- Offers --- Register --- Contact us | |||||||||||||
|
|
|||||||||||||
|
Did you know? if you register at Hamid School you can save up to 45% on hosting packages offered by Surreyhost.com . Don't miss out, every minute counts! Are you Confused? Click here to learn how to use hamid school HTML AttributesAttributes provide additional information to an HTML element. HTML Tag AttributesHTML tags can have attributes. Attributes provide additional information to an HTML element.Attributes always come in name/value pairs like this: name="value". Attributes are always specified in the start tag of an HTML element. Attributes Example 1:<h1> defines the start of a heading. <h1 align="center"> has additional information about the alignment.
Attributes Example 2:<body> defines the body of an HTML document. <body bgcolor="yellow"> has additional information about the background color. Attributes Example 3:<table> defines an HTML table. (You will learn more about HTML tables later) <table border="1"> has additional information about the border around the table. Use Lowercase AttributesAttributes and attribute values are case-insensitive. However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation, and XHTML demands lowercase attributes/attribute values. Always Quote Attribute ValuesAttribute values should always be enclosed in quotes. Double style quotes are the most common, but single style quotes are also allowed. In some rare situations, like when the attribute value itself contains quotes, it is necessary to use single quotes: name='John "ShotGun" Nelson' Viewed:735 Original Author: W3school however, some changes have been made to the main contents.
Did you know? if you register at Hamid School you can learn web programming and designing for free and also you can save up to 45% on hosting packages offered by Surreyhost.com . Don't miss out, every minute counts!
|
|
||||||||||||
|
Sponsored by: Surreyhost.com Coded and designed by: Hamid Moudi HPLA Follow us: ![]() ![]() |
|||||||||||||