head View

Category:Internet -> Whatis

In html, the head is the first section in the code that contains information about a page’s properties; denoted by <head></head> tags. For example, in the HTML head you would put the title of the page, meta tags, CSS code, and some JavaScript code. The following example is a basic HTML page template which helps demonstrate where the head section of the code is placed when creating a web page.

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>

<html>

<head>

<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”>

<meta content=“Example page demonstrating the head section” name=“description”>

<title>Example page</title>

</head>

<body>

</body>

</html>

 

Categories