Skip navigation
Currently Being Moderated

DW CS6 template applied, does not validate

Jan 30, 2013 3:34 PM

Tags: #error #dreamweaver #html5 #cs6

I am using Dreamweaver CS6.  I created a template from a page which validates W3C perfectly. 


I apply that template to a blank new page.  


I validate.  It fails with numerous errors in the header. 


My simple test file:


<!DOCTYPE html>


<meta charset="utf-8">

<title>Val Test</title>

<link rel="stylesheet" href="mm_spa_index.css" type="text/css" />



Validation Test




The validation errors I get are: (all seem related to not finding the doctype statement, however this cannot be fixed in the page with the template applied)

2 document type does not allow element "head" here; assuming missing "html" start-tag [XHTML 1.0 Transitional]

2 Missing xmlns attribute for element html. The value should be: [XHTML 1.0 Transitional]

3 there is no attribute "charset" [XHTML 1.0 Transitional]

3 required attribute "content" not specified [XHTML 1.0 Transitional]

3 end tag for "meta" omitted, but OMITTAG NO was specified [XHTML 1.0 Transitional]

DOCTYPE Override in effect! [XHTML 1.0 Transitional]         



Should be simple, but I must be missing something.  Any suggestions appreciated.

  • Currently Being Moderated
    Jan 30, 2013 3:57 PM   in reply to pacbobsf1

    You're trying to validate an HTML5 doc type with XHTML validation settings.


    A basic HTML5 Template should resemble this.  No coding errors reported:



    <!doctype html>
    <meta charset="utf-8">
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    body {
        font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
        margin: 0;
        padding: 0;
        color: #000;
    <!--[if lt IE 9]>
    <script src=""></script>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="Content" -->
            <!-- TemplateEndEditable -->




    Nancy O.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points