HTML attribute: Difference between revisions

Content deleted Content added
No edit summary
Line 33:
HTML attributes are generally classed as '''required attributes''', '''optional attributes''', '''standard attributes''', and '''event attributes'''. Usually the required and optional attributes modify specific HTML elements, while the standard attributes can be applied to most HTML elements.<ref>{{cite web|url=http://www.w3schools.com/tags/ref_standardattributes.asp|title=HTML / XHTML Standard Attributes|publisher=w3schools.com}}</ref> Event attributes, added in HTML version 4, allow an element to specify scripts to be run under specific circumstances.<ref>{{cite web|url=http://www.w3schools.com/tags/ref_eventattributes.asp|title=HTML / XHTML Standard Event Attributes|publisher=w3schools.com}}</ref>
 
==Required and optional HTML attributes==
 
===Used by one tag===