Professional Documents
Culture Documents
HTML Introduction
What is HTML?
HTML is the standard markup language for creating Web pages.
</body>
</html>
1
Advance web design lecture number one
Example Explained
The <!DOCTYPE html> declaration defines this document to be
HTML5
The <html> element is the root element of an HTML page
The <head> element contains meta information about the
document
The <title> element specifies a title for the document
The <body> element contains the visible page content
The <h1> element defines a large heading
The <p> element defines a paragraph
HTML Tags
HTML tags are element names surrounded by angle brackets:
Tip: The start tag is also called the opening tag, and the end tag
the closing tag.
Web Browsers
The purpose of a web browser (Chrome, IE, Firefox, Safari) is to read
HTML documents and display them.
The browser does not display the HTML tags, but uses them to
determine how to display the document:
2
Advance web design lecture number one
3
Advance web design lecture number one
It must only appear once, at the top of the page (before any HTML
tags).
<!DOCTYPE html>
HTML Versions
Since the early days of the web, there have been many versions of
HTML:
Version Year
HTML 1991
XHTML 2000
HTML5 2014