HTML Attributes
HTML Attribute provide additional information about HTML elements or optional . HTMl elements can have attribute . Attribute increase the functionality of the elements and help to control the elements in different ways,
syntax: <element attribute_name =”attribute_value”>
HTML Attributes
Major of HTML attribute:
- class=””
- target=””
- src=””
- alt=””
- style=””
- id=””
- height=””
- weight=””
- action=””
- name=””
- value=””
- type=””
- rel=””
- tabindex=””
- action=””
1 bgcolor: set of default background color of web page
<body bgcolor=”red”> ...</body>
2.Text color: