Hyper Text Markup Language is what HTML stands for.
The preferred markup language for building Web pages is HTML.
HTML explains how a Web page is put together.
There are several different components in HTML.
HTML components instruct browsers on how to display material.
The labels "this is a heading," "this is a paragraph," "this is a link," etc., are provided by HTML elements.
Here is a simple document of a HTML.
EXAMPLE.
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<img src="image.jpg" alt="Image description">
</body>
</html>
Explaining some HTML codes.
The <!DOCTYPE html> declaration defines that this document is an HTML5 document.
The <html> HTML element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.
The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag. HTML metadata is data about the HTML document. Metadata is not displayed. Metadata typically define the document title, character set, styles, scripts, and other meta information.
The <title> tag defines the title of the document. The title must be text-only, and it is shown in the browser's title bar or in the page's tab. The <title> tag is required in HTML documents!
The <body> element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
The <h1> element defines a large heading.
The <p> element defines a paragraph.
An HTML element is a portion of an HTML file that instructs a web browser how to organize and interpret a specific section of the HTML file. HTML components can include content, semantic meaning, and formatting instructions.