Content deleted Content added
No edit summary Tags: Reverted Mobile edit Mobile web edit |
m Reverted edits by 174.18.22.35 (talk) to last revision by Mako001: editing tests |
||
Line 3:
'''HTML attributes''' are special words used inside the opening tag to control the element's behaviour. HTML attributes are a modifier of an ''[[HTML element|HTML element type]]''. 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'',
Some attribute types function differently when used to modify different element types. For example, the attribute ''name'' is used by several element types, but has slightly different functions in each.<ref name="html4attributes">{{cite web | url=http://www.w3.org/TR/html4/index/attributes.html | title=Index of the HTML 4 Attributes | publisher=W3C | access-date=13 February 2015}}</ref>
==Description==
|