As we all know, any webpage made with FrontPage has such a mark:
<META content="Microsoft FrontPage 4.0" name=GENERATOR><META content=FrontPage.Editor.Document name=ProgId>
The two lines indicate that the webpage is generated by FrontPage 4.0 (FrontPage 2000. However, if you are a Dreamweaver MX user, you will find that Dreamweaver MX does not automatically generate these two rows. Although these two lines do not affect the web page, if you can use them, you can also show some characteristics of your web page. For example, the instructions on my webpage are as follows:
<META content="采用 Dreamweaver MX + Asp + Access 2000 编写" name=GENERATOR><META content="程序编制:鹏程.Net QQ:xxxxxxx" name=ProgId>Next I will explain how to let Dreamweave MX automatically generate the code for you and create a chapter for your webpage!
First, assume that your Dreamweave MX is installed in C: Program filesm1_mediadreamweaver MX.
The Configuration folder under Dreamweaver MX is the Configuration folder of Dreamweaver MX, which includes behavior, commands, panels, and so on.
There is a DocumentTypes folder under the Configuration folder, which saves the definition of the default file template in Dreamweaver MX, where MMDocumentTypes. the xml file records the correspondence between all file types supported by Dreamweaver MX and template files.
Continue to enter the NewDocuments folder, which should be highlighted in front of you! Yes, the template file used to create a new webpage is stored here. If we modify the content of these files, we can directly affect the default webpage code when we generate a web page!
Dreamweaver MX supports many dynamic web development languages, such as ASP, PHP, JSP, and ASP. so the default template file is not one. Below I will introduce several major templates:
File name function
-------------------------------------------------------------------------
Default.html static webpage file Template
Default. jsp JSP page File template
Default. php PHP page File template
Default_vb.asp page File template (VB)
Default_vb.dwt.asp webpage template file Template
Default_vb.aspx ASP. Net webpage File template (VB)
............
OK. Now you can modify the webpage File template at will. After modification, you do not need to exit Dreamweaver MX and save the disk for use. At the same time, you can also customize those web page templates to reflect your personal style and make your website style consistent!</