-
HTML is Hyper Text Markup Language.
-
HTML is used for building websites.
-
We are learning HTML because is the base to understanding WEB.01. Without understanding the basics of WEB.01 one can’t learn WEB.03 programming.
-
HTML tag is an opening and closing part of HTML element which describes where the element starts and where it ends.
-
The structure of an HTML tag is the following:
My cat is very fluffy
Where “
” and “
” are opening and closing tags and “My cat is very fluffy” is the content.- An attribute is extra information about the element which is not meant to appear in the text of an element and usually in located in the tag.
For example:
My cat is very fluffy
Where “class= “editor note”” is an attribute. “class” is the name of an attribute and “editor note” is an attribute value.
- The anatomy of an HTML document is following:
<meta charset="utf-8"> ( This element sets the character set your document which includes most characters from the vast majority of written languages)
<title>My test page</title> (Title of the page)
(head which contains keywords for search generators)
<img src="images/firefox-icon.png" alt="My test image"> (images and or descriptive attributes for visually impaired who can't see the image)