The head tag
The head
tag contains the service content of the page, which specifies the encoding of the document, includes CSS files on the page, includes JavaScript files on the page, and so on.
Most often, inside head
there are tags title
, meta
, script
, link
, style
.
Example
Let's see what the structure of a simple HTML page looks like:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>This is the title title</title>
</head>
<body>
This is the main content of the page.
</body>
</html>