HTML <html> Tag
<!DOCTYPE html>
<html lang="en">
<head>
<title>Title of the document</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Title of the document</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Definition and Usage of html tag
The <html>tag represents the root of the HTML document.
The <html>
tag is the container for all other HTML elements.
Note: You should always include the lang attribute inside the <html>
tag, to declare that the language of the Web page. This is meant to assist search engines and browsers.
The <html>tag represents the root of the HTML document.
The <html>
tag is the container for all other HTML elements.
Note: You should always include the lang attribute inside the <html>
tag, to declare that the language of the Web page. This is meant to assist search engines and browsers.
0 Comments