Skip navigation
Home/Support/

Forums

This discussion is locked
3785 Views 0 Replies Latest reply: May 23, 2009 4:34 PM by David_Powers RSS
David_Powers Community Professional 5,111 posts since
Jun 4, 2002
Currently Being Moderated

May 23, 2009 4:34 PM

Templates: editable region in the head

Recent versions of Dreamweaver automatically create two editable regions in the head of a template. The first is called "doctitle", and should contain only the <title> tag like this:

<!-- TemplateBeginEditable name="doctitle" -->
<title>Your Page Title Goes Here</title>
<!-- TemplateEndEditable -->

The second is called "head", and goes just before the closing </head> tag. It looks like this:

<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>

Use this second editable region to add keywords, description, and other <meta> tags, as well as links to external style sheets and JavaScript files. By default there is nothing between the two template comment tags, so it's easy to miss.

 

If you are using an old version of Dreamweaver, you need to add the "head" editable region manually to the main template file. Just copy and paste the two lines shown above immediately before the closing </head> tag.

More Like This

  • Retrieving data ...

Bookmarked By (0)