0% found this document useful (0 votes)
5 views1 page

HTML

HTML is the standard markup language for creating web pages, with the <html> element as the root element. The document structure includes the <head> for meta information and the <body> for visible content. Various tags such as <title>, <h1>, <p>, and <img> define different elements within an HTML document.

Uploaded by

lilingchung48
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

HTML

HTML is the standard markup language for creating web pages, with the <html> element as the root element. The document structure includes the <head> for meta information and the <body> for visible content. Various tags such as <title>, <h1>, <p>, and <img> define different elements within an HTML document.

Uploaded by

lilingchung48
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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

You might also like