Skip to main content
Participant
October 25, 2017
Answered

Doctype [was: Help]

  • October 25, 2017
  • 2 replies
  • 3383 views

I'm a very novice user of Dreamweaver and am trying to correct error codes such as doctype must be declared. What is a doctype?

    This topic has been closed for replies.
    Correct answer Nancy OShea

    The document type declaration is on the first line of your document code.

    <!doctype html>

    <html lang="en-US">

    <head>

    <meta charset="utf-8">

    <title>Untitled Document</title>

    </head>

    <body>

         CONTENT GOES HERE

    </body>

    </html>

    2 replies

    BenPleysier
    Community Expert
    Community Expert
    October 26, 2017

    In addition to Nancy's reply, this may help you further HTML Tutorial

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    October 26, 2017

    The document type declaration is on the first line of your document code.

    <!doctype html>

    <html lang="en-US">

    <head>

    <meta charset="utf-8">

    <title>Untitled Document</title>

    </head>

    <body>

         CONTENT GOES HERE

    </body>

    </html>

    Nancy O'Shea— Product User & Community Expert
    Legend
    October 26, 2017

    https://forums.adobe.com/people/Nancy+OShea  wrote

    The document type declaration is on the first line of your document code.

    <!doctype html>

    <html lang="en-US">

    <head>

    <meta charset="utf-8">

    <title>Untitled Document</title>

    </head>

    <body>

         CONTENT GOES HERE

    </body>

    </html>

    Im surprised no one has suggested an extension, yet. That would negate any problem of wanting to know what a doctype is or what its used for in the eyes of many.