HTML
HTML Introduction Example Explained
HTML is the standard markup language for
creating Web pages. The <!DOCTYPE html> declaration defines
that this document is an HTML5 document
HTML Element
The <html> element is the root element of
defined by a start tag, some content, and
an end tag an HTML page
The <head> element contains meta
information about the HTML page
A Simple HTML Document
The <title> element specifies a title for the
<!DOCTYPE html> HTML page
<html>
<head> The <body> element defines the
<title>Page Title</title>
</head>
document's body, and is a container for
<body> all the visible contents, such as headings,
paragraphs, images, tables, lists, etc.
<h1>My First Heading</h1>
<p>My first paragraph.</p>
The <h1> element defines a large heading
</body>
</html> The <p> element defines a paragraph
Tag Description
<html>.....</html> Declares the Web page to be written in HTML
<head>.....</head> Delimits the page’s head
<title>.....</title> Defines the title(not displayed on the page)
<body>.....</body> Delimits the page’s body
<ol>.....</ol> Brackets a numberes list
<li>.....</li> Brackets an item in an ordered or number list
<img scr=”...”> Display an image here
<a href”...”>....</a> Define a hyperlink
<p> Starts a paragraph
<table> Table definition
<th> Header cell of a table
<tr> Table row