HTML attribute: Difference between revisions

Content deleted Content added
m Reverted edits by 103.212.214.55 (talk) to last version by Mako001
m dash
Line 8:
 
==Description==
HTML attributes generally appear as [[name-valuename–value pair]]s, separated by <code>=</code>, and are written within the start tag of an element, after the element's name:
 
<syntaxhighlight lang="xml"><element attribute="value">element content</element></syntaxhighlight>