HTML.
What is HTML?
HTML stands for Hypertext Markup Language, and it is the standard markup language used for creating web pages.
Structure of HTML:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
</head>
<body>
<h1>Heading</h1>
<p>Paragraph</p>
</body>
</html>
Let's deep dive into the HTML structure.
<!DOCTYPE html> declaration specifies that this is an HTML document and tells the browser that it’s an HTML Document.
<html> is the root element of the HTML page, and it contains two main tags. The< head> and the <body>.
**</html>**closing tag
<head> element contains metadata about the web page, such as the page title, author, and links to external stylesheets and script, description, characterizes, link etc.
</head> closing tag
<meta> element specifies the character encoding for the HTML document. UTF-8 is a widely used character encoding that supports many languages and scripts.
<meta> is self-closing tags.
<title> element specifies the title of the web page, which appears in the browser's title bar and search engine results.
</title>
<body> element contains the actual content of the web page, such as text, images, and other media.
</body> closing tag.
<h1> element is a heading that is used to define the main heading of the web page. There are six levels of headings, with <h1> being the largest and most important.
</h1> or </h6> closing tag.
<p> element is used to define paragraphs of text.
</p> Closing tag.
Thank You
Please give me feedback. Where I am doing Wrong.
/