HTML Attributes
- HTML Attributes Provide Additional Information About An Element.
- HTML Attributes are always specified in the start tag.
See The Example Below :
Example
The H1 Element will display the title of large fonts in the browser.
But,To change the color of this title ,you must use style attribute.
Such As :
Example
NOTE: Here "style" is the attribute and "color: green;" is the name of this attribute.
The href Attribute :
HTML Links Are Defined With the <a> Tag. The Link Address is Specified In The Href Attribute:
As:
Comments (0)