Page 244 - Web Applications (803) Class 12
P. 244

You can make HTML sites that have the same layout by utilizing dynamic web templates. You can allow editing
              in some areas of a template while preventing changes in other areas, in addition to offering a shared layout.

              Steps to create a Dynamic Web Template

              Starting with an empty HTML page, you can make a Dynamic Web Template (DWT) by saving it as a *.dwt file.
              Let us go stepwise:
              Step 1:  You need a template to work with before you can build a dynamic web template. Create your design
                      as an HTML or XHTML document that includes the masthead, site navigation, and footer that will be
                      present on each page of your website.  Incorporate any meta tags you intend to use as well. Before
                      you build your DWT, save the template and make sure it validates. This is your basic template.
              Step 2:  Open your webpage in Expression Web (Link to download EW:
                      https://www.majorgeeks.com/mg/getmirror/microsoft_expression_web,1.html#google_
                      vignette

                      Click on File → Save As → Save as type, Select Dynamic Web Template from the dropdown menu.
                      Give the file a name <filename.dwt>. Click Save.

























              Note:   The only place where the content can be changed is in editable regions, which you must create. Create
                     an editable region as follows:

              Step 1:  Click on Format → Dynamic web Template → Manage Editable Regions.


























                242   Touchpad Web Applications-XII
   239   240   241   242   243   244   245   246   247   248   249