What is a <head> tag?

Experience Level: Junior
Tags: HTML

Answer

  • The <head> tag provides the general information about the web page.
  • The <title> tag and <meta> tag are among the few that are inside the <head> tag.
  • You can put <link> tag to <head> tag to link styles (CSS).
  • You can put <script> tag to <head> tag to link JavaScript.
Example
<html>
<head>
	<title>Registration form for Better Coder</title>
	<link rel="stylesheet" type="text/css" href="css-register-form.css" />
</head>
<body>...</body>
</html>
Related HTML job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
HTML for beginners
HTML for beginners

Are you learning HTML ? Try our test we designed to help you progress faster.

Test yourself

Chat

Oh, the operator is not available. Leave us your comments. We will answer all your questions as soon as possible.

Comments

Anonymous
Καλησπέρα.
Anonymous
the infinteis -3/15 so 1triition / infinet
Anonymous
e
Anonymous
<a href="https://inspirum.pl "
Anonymous
[url]https://inspirum.pl[/url]
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e