The <head> tag in HTML is used to contain metadata and other information for the document, which doesn't appear directly on the webpage. Here’s a short form of what typically goes inside the <head> tag:
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Title of the Page</title>
<link rel="stylesheet" href="styles.css">
<script src="script.js"></script>
</head>
The <meta> tag in HTML is used to provide metadata about the HTML document. Metadata is information about the data on the page and is not displayed on the webpage itself but is used by browsers, search engines, and other web services.
Here are some common uses of the <meta> tag:
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
.png)
0 Comments