0% found this document useful (0 votes)
13 views8 pages

Export Document

HTML is the standard markup language used to create web pages. An HTML document contains elements that define the structure and content of a page. The basic structure includes a DOCTYPE declaration, html and head elements, a title element within the head, and a body element containing the page content, which can include heading, paragraph and other text elements.

Uploaded by

Malyn Lagatic
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)
13 views8 pages

Export Document

HTML is the standard markup language used to create web pages. An HTML document contains elements that define the structure and content of a page. The basic structure includes a DOCTYPE declaration, html and head elements, a title element within the head, and a body element containing the page content, which can include heading, paragraph and other text elements.

Uploaded by

Malyn Lagatic
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/ 8

HTML Structure

HTML (Hypertext Markup Language) is the standard markup


language used to create web pages. HTML documents are
comprised of elements that define the structure and content of
a page. Here's a basic overview of the structure of an HTML
document:
Document Type Declaration (DOCTYPE):
• Specifies the HTML version being used. It should be
placed at the very beginning of the HTML document.

<!DOCTYPE html>
HTML Element:
• The root element of an HTML document.

<html>
<!-- Content goes here -->
</html>
Head Element:
• Contains meta -information about the HTML
document, such as the title, character set, and
linked stylesheets or scripts.

<head>
<!-- Metadata, title, stylesheets, scripts,
etc. go here -->
</head>
Title Element:
• Sets the title of the HTML document, which
is displayed on the browser's title bar or tab.

<title>Your Page Title</title>


Body Element:
• Contains the content of the HTML document,
including text, images, links, and other elements.

<body>
<!-- Content of the page goes here -->
</body>
Heading Elements:
• Define headings of different levels (h1 to h6)
for structuring content hierarchically.

<h1>This is a Heading 1</h1>


<h2>This is a Heading 2</h2>
<h6>This is a Heading 6</h6>
Paragraph Element:
• Defines a paragraph of text.

<p>This is a paragraph.</p>

You might also like