Difference between revisions of "HTML element"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(See also)
 
Line 33: Line 33:
  
 
* [http://en.wikipedia.org/wiki/HTML_element HTML element] @ Wikipedia
 
* [http://en.wikipedia.org/wiki/HTML_element HTML element] @ Wikipedia
 +
* [https://www.lifewire.com/html-tag-vs-element-3466507 What Is An HTML Tag Versus an HTML Element?]
  
 
[[Category:HTML]]
 
[[Category:HTML]]

Latest revision as of 12:09, 3 October 2018

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>

See also

External links