HTML · HTML Tutorial · Lesson 28
HTML Head
Metadata: title, style, link, meta, script and base.
The <head> element is a container for metadata (data about data). It goes between <html> and <body>.
Elements used inside head: <title>, <style>, <meta>, <link>, <script> and <base>.
The meta Element
Example
<head>
<meta charset="UTF-8">
<meta name="description" content="Free web tutorials">
<meta name="keywords" content="HTML, CSS, JavaScript">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Keep reading “HTML Head”
Sign up to read the full lesson (4 more parts), try every example in the live editor, and take the 5-question quiz.