The basic HTML structure is:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
What Do This Tags Mean
<!DOCTYPE html> : This tag, doctype, is used to define the document type, which in this case is html.
<html> defines the root of an HTML document.
<head> defines information about the document, it includes tags like title and meta.
<title> defines the site name or title
<body> contains all the contents of the document
No comments:
Post a Comment