Skip to main content
Participant
Oct 25, 2017 11:27 PM UTC
Answered

Doctype [was: Help]

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 is closed to new replies. Start a new post to keep the conversation going.
    Nancy OShea
    Nancy OSheaCorrect answer
    Community Expert
    Oct 26, 2017 12:05 AM UTC

    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

    3 replies

    BenPleysier
    Community Expert
    Community Expert
    Oct 26, 2017 1:01 AM UTC

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

    Translate
    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
    Oct 26, 2017 12:05 AM UTC

    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>

    Translate
    Nancy O'Shea— Product User & Community Expert
    Legend
    Oct 26, 2017 7:18 AM UTC

    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.

    Translate