What is HTML?
Before proceeding, it is important to understand the concept of HTML and how it works.
HTML, short for HyperText Markup Language, is a markup language used to render web pages. Think of HTML as the framework that forms the core structure of a web page, making it user-friendly and easy to navigate.
For instance, take a look at the web page displayed below, accessible through the following link.
The HTML structure of the page is as follows:
index.html
Each HTML tag is enclosed in angle brackets, with a left bracket < and a right bracket >. Most HTML tags come in pairs, consisting of opening and closing tags. A closing tag includes a forward slash /.
In the schema above, the following tags are used:
<html>- defines an HTML document (required for every document);<title>- defines a page title displayed in the browser tab;<body>- defines the body of the document;<h2>- defines a second-level heading (six levels are available:<h1>β<h6>);<p>- defines a paragraph.
Thanks for your feedback!
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Can you explain what HTML is used for?
What is the purpose of each HTML tag mentioned?
Can you show an example of a simple HTML document?
Awesome!
Completion rate improved to 4.35
What is HTML?
Swipe to show menu
Before proceeding, it is important to understand the concept of HTML and how it works.
HTML, short for HyperText Markup Language, is a markup language used to render web pages. Think of HTML as the framework that forms the core structure of a web page, making it user-friendly and easy to navigate.
For instance, take a look at the web page displayed below, accessible through the following link.
The HTML structure of the page is as follows:
index.html
Each HTML tag is enclosed in angle brackets, with a left bracket < and a right bracket >. Most HTML tags come in pairs, consisting of opening and closing tags. A closing tag includes a forward slash /.
In the schema above, the following tags are used:
<html>- defines an HTML document (required for every document);<title>- defines a page title displayed in the browser tab;<body>- defines the body of the document;<h2>- defines a second-level heading (six levels are available:<h1>β<h6>);<p>- defines a paragraph.
Thanks for your feedback!