Skip to main content
WolfShade
Legend
September 6, 2018
Answered

DW CC v13.1 build 6443: modify new document template

  • September 6, 2018
  • 1 reply
  • 413 views

Hello, all,

When you use CTRL-N or click FILE > NEW to create a new document, a document is opened and it contains the basic HTML start (doctype, head tags, body tags, etc.)

I'd like to customize this, a little bit.  What file do I need to edit?

V/r,

^ _ ^

    This topic has been closed for replies.
    Correct answer Jon Fritz

    For Windows, it's at C: > Program Files > Adobe > Dreamweaver (version) > configuration > Document Types > NewDocuments > Default.html

    Not 100% on the location for Macs, but it's not in the "personal Configuration folder" it's in the program's "little c" configuration folder. Something along the lines of Macintosh HD > Applications > Adobe > Dreamweaver (version) > configuration > Document Types > NewDocuments > Default.html

    When I change it, I save it to the desktop, then copy it back to the location using my system admin rights.

    1 reply

    Jon Fritz
    Community Expert
    Jon FritzCommunity ExpertCorrect answer
    Community Expert
    September 6, 2018

    For Windows, it's at C: > Program Files > Adobe > Dreamweaver (version) > configuration > Document Types > NewDocuments > Default.html

    Not 100% on the location for Macs, but it's not in the "personal Configuration folder" it's in the program's "little c" configuration folder. Something along the lines of Macintosh HD > Applications > Adobe > Dreamweaver (version) > configuration > Document Types > NewDocuments > Default.html

    When I change it, I save it to the desktop, then copy it back to the location using my system admin rights.

    WolfShade
    WolfShadeAuthor
    Legend
    September 6, 2018

    OPS.. I typed too soon.  That is the location for a HTML4.01 document.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> is the first line.

    I can't find the one for <!DOCTYPE html>.  (gasp)

    V/r,

    ^ _ ^

    WolfShade
    WolfShadeAuthor
    Legend
    September 6, 2018

    Nope, that is the right one, DW switches the doctype depending on what you have selected in the prefs.


    YUP!  That did it.    Thanks.

    V/r,

    ^ _ ^