0% found this document useful (0 votes)
8 views

HTML 3

Uploaded by

Sonal Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

HTML 3

Uploaded by

Sonal Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

HTML is a markup language used for describing web documents (web pages).

HTML stands for Hyper Text Markup Language.


A markup language is a set of markup tags.
HTML documents are described by HTML tags.
Each HTML tags describe different content.
HTML Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>

</body>
</html>

The DOCTYPE declaration defines the document type to be HTML.

The text between <html> and </html> describes an HTML document.

The text between <head> and </head> provides information about the document.

The text between <title> and </title> provides a title for the document.

The text between<body> and </body> describes the visible page content.

The text between <h1> and </h1> describes the heading.

The text between <p> and </p> describes the paragraph.

HTML Tags

HTML tags are keywords (tag names) surrounded by angle brackets:

HTML tags come in pairs like<p>and</p>

The first tag in a pair is the start tag and the second tag is the end tag.

HTML Documents

All HTML document must start with a type declaration: <!DOCTYPE html>

The HTML document itself begins with <html> and ends with </html>

The visible part of the html document is between <body> and </body>

You might also like