Home Advertise with us Forum Articles Sitemap Contact


The head element in HTML defines information about the HTML document. This may be general information about styles, title & meta information.

The head element essentially contains elements that should not be displayed by the browser. There are just a few tags that according to the HTML standard are considered legal to be included inside the head section. These include: <title>, <meta>, <base>, <style>, <link>, and <script>.


<title> This is the Title </title>


One thing to remember here is that, although the elements included inside the head element are not displayed by the browser, few elements like <h1> or <p> when defined inside the head element are displayed by the browser.

Head Tags



<head> Defines information about the document
<title> Defines the document title
<base> Defines a base URL for all the links on a page
<link> Defines a resource reference
<meta> Defines meta information



<!DOCTYPE> Defines the document type. This tag goes before the <html> start tag.

HTML Tip 1

Use only hexadecimal #RGB values for colors. The behavior of named colors is browser-idiosyncratic and totally unpredictable.

HTML Tip 2

You can resize your images without a graphics program by changing the HEIGHT and WIDTH in your image tag.