All HTML Tags
All HTML tags are keywords (tag names) surrounded by angle brackets:
<tagname>content</tagname>. There are lots of tags.
- All HTML tags normally come in pairs like <p> and </p>
- The first tag in a pair is the start tag or opening tag, the second tag is the end tag or finishing tag.
- The end tag is written as like the start tag, but just a extra slash before the tag name
| The start tag sometimes is called the opening tag. The end tag is also often called the closing tag. |
Web Browsers..?
The purpose of a web browser like (Chrome, IE, Firefox, Safari) is to read HTML documents and display them in the screen.The browser never display the HTML tags, but uses them to determine how to display the document in the monitor:
HTML Page Structures
At below is a visualization of an HTML page structure:
<html>
<body>
</html>
<h1>This is a normal heading</h1>
<p>This is just a paragraph.</p>
<p>This is also another paragraph.</p>
</body>
HTML Versions
From the early days of the web, there have been many versions of HTML created:| All Version | Year |
|---|---|
| HTML | In 1991 |
| HTML+ | In 1993 |
| HTML 2.0 | In 1995 |
| HTML 3.2 | In 1997 |
| HTML 4.01 | In 1999 |
| XHTML | In 2000 |
| HTML5 | In 2012 |
The <!DOCTYPE> Declaration....
The <!DOCTYPE> declaration helps the computer browser to display a web page correctly.There are so many different documents on the web, and a browser can only display an HTML page correctly if it knows the right HTML version and type.
The Common Declarations
HTML 5
<!DOCTYPE html>
HTML 4.01.
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
"http://www.w3.org/TR/html4/loose.dtd">
XHTML 1.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Get your own website on Fiverr.




