HTML Attributes
Attributes provide additional information about HTML elements.
HTML Attributes
All Html Elements can have Attributes..
Attributes provide additional information about an element..
Attributes are always specified in the start tag...
Attributes usually come in name/value pairs like: name="value"..
href Attribute:
Html links are defined with the <a> tag. The link address is specified in the href Attribute...:
Example :
src Attribute:
Html images are defined with the <img src > tag.
Example :
width and height Attributes:
Html images have a size Attribute , which is specified the width & height of the image object :
Example :
alt Attributes:
The alt Attribute is specifies an alternative text to be used , when an image can not open(display).
The alt attribute is also useful if the image does not exist..
Example :
Some content coming soon......
HTML attribute.........