Difference between revisions of "HTML element"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(First def.)
 
(details)
Line 1: Line 1:
Elements are fundamental units in [[HTML]].  The HTML language is made up of a set of elements, and rules for using them.
+
An elements is a fundamental units in [[HTML]].  The HTML language is made up of a set of elements, and rules for using them.
  
 
Elements are the basis for [[tags]]:
 
Elements are the basis for [[tags]]:

Revision as of 18:40, 10 May 2015

An elements is a fundamental units in HTML. The HTML language is made up of a set of elements, and rules for using them.

Elements are the basis for tags:

A tag is how an element gets written down in an HTML document.

One Tag, Two Tag

  • Some elements one tag
    • <img src="image.jpg" alt="element with one tag" />
  • Most elements use two tags: an opening tag, and a closing tag
    • Text inside paragraph.