Meta tags and Head element in HTML web page
Previous: HTML Links and Anchors
HTML HEAD element
HTML page consists of two main elements HEAD and BODY.
The HEAD element contains general information about the web page. It is not shown in the web page body. The tags placed in the <head> element can control the page formatting and provide information to search engines when they visit the web page.
Most often used tags in HTML head elements are:
<title> Define page title here </title> - the text is displayed in the web browser title bar
<link> - defines resource link. This is an empty tag. It has no element. It has attributes only.
Example:
<head>
<title>Top Web Site article :: Meta tags and Head element in HTML web page</title>
<link href="path/file_name.css" rel="stylesheet" media="screen">
</head>
Other tags used in HTML head element:
<base href="URL"> - defines base URL for all links in the HTML page where it is included
<script type="text/scripting_language> scripting language commands </script> inserts scripting language commands in the web page
<meta> - defines meta information

