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

HTML 1

This document provides examples of basic HTML code structures. It explains that all HTML documents must start with a <!DOCTYPE html> declaration and contain <html> and </body> tags. The visible content is between <body> and </body> tags. An example HTML code is given with a heading <h1> tag and paragraph <p> tag.

Uploaded by

ansh21kumar0
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)
30 views1 page

HTML 1

This document provides examples of basic HTML code structures. It explains that all HTML documents must start with a <!DOCTYPE html> declaration and contain <html> and </body> tags. The visible content is between <body> and </body> tags. An example HTML code is given with a heading <h1> tag and paragraph <p> tag.

Uploaded by

ansh21kumar0
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

3/1/24, 10:17 AM HTML Basic

 Tutorials  Exercises  Services   Sign Up Log in

HTML
 CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO [Link] C

HTML Basic Examples


❮ Previous Next ❯

In this chapter we will show some basic HTML examples.

Don't worry if we use tags you have not learned about yet.

HTML Documents
All HTML documents must start with a document 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> .

Example

<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>


<p>My first paragraph.</p>

</body>
</html>

Try it Yourself »

[Link] 1/10

You might also like