HTML element
From Wiki @ Karl Jones dot com
Revision as of 12:09, 3 October 2018 by Karl Jones (Talk | contribs)
An element is a fundamental unit in HTML.
The HTML language is made up of a set of elements, and rules for using element.
Elements are the basis for tags.
In an HTML document, tags represent elements.
One Tag, Two Tag
Some HTML elements require one tag:
<img src="image.jpg" alt="element with one tag" />
Most HTML elements require two tags: an opening tag, and a closing tag:
<p>Text inside paragraph.</p>