Difference between revisions of "Tag (HTML)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) (→External links) |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
* [[HTML]] | * [[HTML]] | ||
* [[HTML element]] | * [[HTML element]] | ||
+ | |||
+ | == External links == | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Category:HTML]] | ||
+ | [[Category:HTML elements]] | ||
+ | [[Category:Web design]] | ||
+ | [[Category:Web design and development]] |
Latest revision as of 11:49, 25 April 2016
In HTML, tags represent HTML elements.
An HTML element is abstract. A tag implements an HTML element in a web page or other document.
One Tag, Two Tag
Some elements have one tag:
<img src="image.jpg" alt="element with one tag" />
Most elements use two tags: an opening tag, and a closing tag:
<p>Text inside paragraph.</p>
Elements with two tags serve as containers. Any content between the opening tag and the closing tag is contained by the container element.