MENU service case
 Website construction website design Beijing website construction high-end website production company Shangpin China
We create by embracing change
360 ° brand value__
simplified Chinese character
Simplified Chinese English

Shangpin China Joins Hands with Beisheng Internet to Create a New Chapter in Website Construction

Type: Shangpin Dynamic Learn more

What is a web template

Source: Shangpin China | Type: website encyclopedia | Time: July 21, 2015
Template is an improvement Website production An effective tool for efficiency. In web design, the same website often encounters dozens of pages with the same style. If you use XHTML to design the structure of the web page every time, and use Css to define the style of the web page object, the efficiency will be very low. With the template function of Dreamweaver, you can quickly generate a large number of similar web pages in a few simple steps, which can effectively save the time of making web pages.

Templates are the basic documents for generating web pages. When creating a web page, the content will be updated frequently. However, some elements of the page need to be kept for a long time. At this time, you can make a template of the page elements that remain unchanged for a long time, and only modify a small amount of content when necessary.

Documents generated using templates can still be modified. When changing the template, you can update all the web documents created with the template at the same time. In templates and web documents with templates applied, different sections can be distinguished by editable areas and non editable areas. These areas will be displayed with different color brightness. You can change the display color of these areas by setting Dreamweaver preferences. The template has three advantages.

Consistent style

Using templates to create pages in the process of website creation can generate a large number of pages with the same style, making the whole website look more systematic, and avoiding a lot of repetitive work.

Easy to modify

The website composed of pages created by the template is very convenient for modification. For example, if you need to modify the style of the entire website, you can quickly change the style of the entire website by simply modifying the template of the website.

Easy backup

If you need to back up the site style for a site that does not use a template, you need to copy all the pages in the entire site. With templates, you only need to back up website templates when backing up website styles.

How do I create a template?

In Dreamweaver, users can create new templates, add content to the templates as needed, save them, or obtain templates in other ways. By default, template documents are usually stored in the Templates directory under the root directory of the local site, with the extension dwt.

There are two main methods to create templates, namely, creating a new template file and modifying other web page documents into templates. After creating a template file, you need to insert various areas in the template to make the template work.

1. Create a blank template

You can create blank template files in Dreamweaver. Open Dreamweaver and execute the File I New command (or press Ctrl+N) to open the New Document dialog box. Select the Empty Template option in the dialog box to select the technology and layout type used by the template on the right, as shown in Figure 5-8.
 New Template
Select the template type to be created and click Create to create a blank template and add content to the template.

2. Conversion template

Dreamweaver also supports saving existing designed web pages in template format. In Dreamweaver, first open the designed webpage document, as shown in Figure 5-9.
 Open the designed webpage
Delete some content that needs to be updated frequently in the opened webpage, and execute the command [File] | [Save as Template] to save the webpage as a dwt template.
Source Statement: This article is original or edited by Shangpin China's editors. If it needs to be reproduced, please indicate that it is from Shangpin China. The above contents (including pictures and words) are from the Internet. If there is any infringement, please contact us in time (010-60259772).
TAG label:

What if your website can increase the number of conversions and improve customer satisfaction?

Make an appointment with a professional consultant to communicate!

* Shangpin professional consultant will contact you as soon as possible

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]

Communicate with professional consultants now!

  • National Service Hotline

    400-700-4979

  • Beijing Service Hotline

    010-60259772

Please be assured to fill in the information protection
Online consultation

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]