Curriculum
Course: HTML Basic
Login

Curriculum

HTML Basic

HTML Introduction

0/1

HTML Editors

0/1

HTML Attributes

0/1

HTML Paragraphs

0/1

HTML Formatting

0/1

HTML Comments

0/1

HTML Favicon

0/1

HTML Page Title

0/1

HTML Iframes

0/1

HTML Java Script

0/1

HTML File Paths

0/1

HTML Symbols

0/1
Text lesson

Example Explained

The <html> element is the root of the HTML document, enclosing the <body> element and marked by opening <html> and closing </html> tags.

<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>

The <body> element defines the document body, enclosed by <body> and </body>, containing <h1> and <p> elements.

<h1>My First Heading</h1>
<p>My first paragraph.</p>

The <h1> element defines a heading, enclosed by <h1> and </h1> tags.

<h1>My First Heading</h1>

The <p> element defines a paragraph, enclosed by <p> and </p> tags.

<p>My first paragraph.</p>