Content deleted Content added
m Reverted 1 edit by 1.132.106.85 (talk) to last revision by Spida-tarbell |
m →top: +link |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
{{short description|Special words used inside the opening tag to control the element's behaviour}}
'''HTML attributes''' are special words used to adjust the behavior or display of an ''[[HTML element]]''. An attribute either modifies the default functionality of an element type or provides functionality to certain element types unable to function correctly without them. In [[HTML]] syntax, an attribute is added to an ''[[HTML tags|HTML start tag]]''.
Several basic attributes types have been recognized, including: (1) ''required attributes'' needed by a particular element type for that element type to function correctly; (2) ''optional attributes'' used to modify the default functionality of an element type; (3) ''standard attributes'' supported by many element types; and (4) ''event attributes'' used to cause element types to specify scripts to be run under specific circumstances.
|