HTML <head> Tag
The
tag in HTML represents the container for metadata and other header elements within an HTML document.HTML Head Tag Elements
Here are some elements commonly found within the
section.<title>
: Sets the title of the webpage, which appears in the browser's title bar or tab.<meta>
: Provides metadata such as character encoding, keywords, description, and viewport settings.<link>
: Links to external resources like stylesheets, favicons, or alternate versions of the page.<script>
: Includes JavaScript files or scripts.<style>
: Contains CSS rules for styling the document.
<!DOCTYPE html>
<html>
<head>
<title>Additional Sheet</title>
<meta charset="UTF-8">
<meta name="description" content="Description of the page">
<meta name="keywords" content="html, css, bootstrap">
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/png" href="favicon.png">
</head>
<body>
<h1>Welcome to the Additional sheet</h1>
<!-- Content of the page -->
</body>
</html>
The
section is crucial for setting up the foundational information that helps browsers, search engines, and other web tools understand and properly render the webpage.