### Overview

The head tag contains information about the page (called the meta-data), and is not displayed in the web browser. The title tag is used to name the page and is usually displayed on the page tab, while other parts may be used by search engines.

• List and describe the basic elements of the head tag
• title, meta, style, script
• List and describe attributes of the meta tag

Add the following meta-tags to one.html

<!DOCTYPE html>
<html>
<meta name="keywords" content="html, htm, first page">
<meta name="description" content="First web page">
<meta name="DC.Creator" content="put your name in here" />
<title>**’s first page</title>
<body>
<h1>**’s web</h1>
<p>Hello <b>world</b></p>
<h2>Favourite quotes</h2>
<p>Live long and prosper</p>
</body>
</html>

When displayed in the browser the Meta-tags do not show! Why?

These are tags put into the <head> area of your webpage and are ABOUT the page so don't actually display on the page. These include.

• <title> which is used in the tab when displaying multiple pages in a browser,
• <meta > (name=keywords or description) used by search engines.
• <style> where you include any CSS styles just for this page,
• <script ..> where you put your JavaScript code,
• <link ..> where you link to another file used by the page (e.g. CSS, JavaScript)

### Meta tags.

• base -- A record of the original URL of the document: this allows you to move the document to a new directory (or even a new site) and have relative URLs access the appropriate place with respect to the original URL.
• isindex -- Usually placed in the HEAD by the server or a server script/program to indicate that a document is searchable.
• link -- Defines the relationship(s) between this document and another or others. A document can have several LINK elements.
• meta -- A container for document metainformation. (some useful ones include)
• name="keywords" content="..." - used by search engines
• name="description" content="..." - used by search engines
• name="author" content="..."> - adds authors name
• robot, that stops "some" robots from indexing your page
• refresh, that allows you to redirect the web surfer to another page, and is especially useful if your site is moved.
• e.g. <meta http-equiv="refresh" content="2;url=http://www.virtualmv.com/wiki"> - where the 2 indicates a 2 second wait.
• name = DC... (Dublin Core) Dublin core is a standard way libraries reference pages. Programs like zotero can use this to automatically capture the correct page reference, some tags include:
• name="DC.Creator" - author