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

HTML Revision

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

HTML Revision

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

HTML (HyperText Markup Language) is the standard markup language for creating web pages and web

applications. It describes the structure of a web page semantically and originally included cues for the
appearance of the document.

Lesson 1: Basic HTML Structure

HTML

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>

</html>

AI-generated code. Review and use carefully. More info on FAQ.

<!DOCTYPE html>: This is the document type declaration and it helps with the browser compatibility.

<html>: This is the root element of an HTML page.

<head>: The head element contains meta-information about the HTML page like its title.

<title>: The title element specifies a title for the HTML page, which is shown in the browser’s title bar or
page’s tab.

<body>: The body element contains the content of the page, such as text, images, etc.

<h1>: This is a heading element. HTML headings are defined with the <h1> to <h6> tags.

<p>: This is a paragraph element. It defines a paragraph of text.

Lesson 2: HTML Elements


HTML elements are represented by tags. HTML tags label pieces of content such as “heading”,
“paragraph”, “table”, etc. Browsers do not display the HTML tags, but use them to render the content of
the page.

Here are some commonly used HTML elements:

Headings: <h1> to <h6>

Paragraph: <p>

Line Break: <br>

Horizontal Rule: <hr>

Links: <a>

Images: <img>

Lists: <ul>, <ol>, <li>

Divisions: <div>

Spans: <span>

Each of these elements has specific attributes and uses, which you can learn more about as you delve
deeper into HTML.HTML (HyperText Markup Language) is the standard markup language for creating
web pages and web applications. It describes the structure of a web page semantically and originally
included cues for the appearance of the document.

Lesson 1: Basic HTML Structure

HTML

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>
</head>

<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>

</html>

AI-generated code. Review and use carefully. More info on FAQ.

<!DOCTYPE html>: This is the document type declaration and it helps with the browser compatibility.

<html>: This is the root element of an HTML page.

<head>: The head element contains meta-information about the HTML page like its title.

<title>: The title element specifies a title for the HTML page, which is shown in the browser’s title bar or
page’s tab.

<body>: The body element contains the content of the page, such as text, images, etc.

<h1>: This is a heading element. HTML headings are defined with the <h1> to <h6> tags.

<p>: This is a paragraph element. It defines a paragraph of text.

Lesson 2: HTML Elements

HTML elements are represented by tags. HTML tags label pieces of content such as “heading”,
“paragraph”, “table”, etc. Browsers do not display the HTML tags, but use them to render the content of
the page.

Here are some commonly used HTML elements:

Headings: <h1> to <h6>

Paragraph: <p>

Line Break: <br>

Horizontal Rule: <hr>

Links: <a>
Images: <img>

Lists: <ul>, <ol>, <li>

Divisions: <div>

Spans: <span>

Each of these elements has specific attributes and uses, which you can learn more about as you delve
deeper into HTML.HTML (HyperText Markup Language) is the standard markup language for creating
web pages and web applications. It describes the structure of a web page semantically and originally
included cues for the appearance of the document.

Lesson 1: Basic HTML Structure

HTML

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>

</html>

AI-generated code. Review and use carefully. More info on FAQ.

<!DOCTYPE html>: This is the document type declaration and it helps with the browser compatibility.

<html>: This is the root element of an HTML page.

<head>: The head element contains meta-information about the HTML page like its title.
<title>: The title element specifies a title for the HTML page, which is shown in the browser’s title bar or
page’s tab.

<body>: The body element contains the content of the page, such as text, images, etc.

<h1>: This is a heading element. HTML headings are defined with the <h1> to <h6> tags.

<p>: This is a paragraph element. It defines a paragraph of text.

Lesson 2: HTML Elements

HTML elements are represented by tags. HTML tags label pieces of content such as “heading”,
“paragraph”, “table”, etc. Browsers do not display the HTML tags, but use them to render the content of
the page.

Here are some commonly used HTML elements:

Headings: <h1> to <h6>

Paragraph: <p>

Line Break: <br>

Horizontal Rule: <hr>

Links: <a>

Images: <img>

Lists: <ul>, <ol>, <li>

Divisions: <div>

Spans: <span>

Each of these elements has specific attributes and uses, which you can learn more about as you delve
deeper into HTML.

You might also like