You are on page 1of 1

How to Create a Meta Description Tag

The description meta tag contains a name attribute and a contents attribute. Below is what a description tag
looks like when inserted into a page using XHTML:

<meta name="description" content="Your meta description goes here " />

This tag goes between the head tags:

<head> 
</head>

I like to keep all my meta tags that change per page together in the head section just before the opening
body tag. This is so all the typical other stuff in the head of the coding can be inserted with an include or if
building a DWT (dynamic web template) the editable section in the head section is all together and one set
of editable region tags is required. Saves on a bit of coding.

<title>Title of the document</title>


<meta name="description" content="Your meta description goes here " /> 
<meta name="keywords" content="Your meta keywords go here " />
<body>

You might also like