0% found this document useful (0 votes)
2 views2 pages

HTML Basics

HTML, or HyperText Markup Language, is the standard language for creating webpages. An HTML document has a basic structure that includes elements like <html>, <head>, <title>, <body>, and various tags for content such as headings, paragraphs, and links. Tags can have attributes for additional information, and elements can be nested for better organization.

Uploaded by

protyushbala69
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)
2 views2 pages

HTML Basics

HTML, or HyperText Markup Language, is the standard language for creating webpages. An HTML document has a basic structure that includes elements like <html>, <head>, <title>, <body>, and various tags for content such as headings, paragraphs, and links. Tags can have attributes for additional information, and elements can be nested for better organization.

Uploaded by

protyushbala69
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/ 2

HTML Basics

1. What is HTML?

- HTML stands for HyperText Markup Language.

- It is the standard language for creating webpages.

2. Basic Structure of an HTML Document:

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

<h1>This is a Heading</h1>

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

</body>

</html>

3. Common HTML Tags:

- <html>: Root element of an HTML page

- <head>: Metadata container

- <title>: Title of the document

- <body>: Main content area

- <h1> to <h6>: Header tags

- <p>: Paragraph tag

- <a>: Anchor (link) tag


- <img>: Image tag

- <ul>, <ol>, <li>: List tags

4. Attributes:

- Tags can have attributes to provide more info.

- Example: <a href="https://example.com">Visit</a>

5. Nesting and Formatting:

- HTML elements can be nested.

- Use indentation to keep code readable.

Happy coding!

You might also like