1. Definition :
Html (Hypertext Markup Language) refers to the standard
language used for creating web pages, in the other hand for
defining the structure of the web pages.
2. Basic Structure of an Html code :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
<title>Page Title</title>
</head>
<body>
<h1>Welcome to Soufiane Page</h1>
<p>This is a paragraph.</p>
</body>
</html>
, Notes : This is the basic structure of an Html code, we should
bear in mind that it’s crucial to respect the structure.
3. The main HTMl elements :
<!DOCTYPE html> : Used for declaring the document type.
</html> : Basic element of the HTMl document.
<head> : Contains the title, metadata and links to styles and
scripts.
<title> : Display the title of the page.
<body> : Contains the visible content of the page.
Headings
- <h1> to <h6> : Refers to the heading tags, with <h1>
being the most important and <h6> the least.