HTML
HTML
HTML is a standard markup language for creating web pages and websites.
HTML syands for Hyper Text Markup Language.
HTML tells abour the structure of webpages using markup.
HTML elements are the blocks that build the HTML pages.
HTML elements are used by tags.
HTML tags does not appear in webpages as tags.
HTML is a standard markup language for creating web pages and websites.
HTML syands for Hyper Text Markup Language.

HTML elements are the blocks that build the HTML pages.
HTML elements are used by tags.
HTML tags does not appear in webpages as tags.
Example Explained
- The
<!DOCTYPE html>
defines this documents to HTML5. - The
<html>
root element of an HTML page - The
<head>
contains meta information about the document - The
<title>
specifies a title for the document - The
<body>
contains the visible page content - The
<h1>
defines a large heading - The
<p>
defines a paragraph
HTML Tags
HTML tags are element names surrounded by angle brackets:
<tagname>content goes here...</tagname>
- HTML tags normally come in pairs like
<p>
and</p>
- The first tag in a pair is the start tag, the second tag is the end tag
- The end tag is written like the start tag, but with a forward slash inserted before the tag name
HTML Page Structure
The <!DOCTYPE> declaration
It is an instruction to the web browser about what version of HTML the page is written in.
<!DOCTYPE> is for HTML5.
HTML Versions
HTML - 1991
HTML 2.0 - 1995
HTML 3.2 - 1997
HTML 4.01 - 1999
XHTML - 2000
HTML5 - 2014
No comments