jqueryhtmlmaster-pagesdreamweaver

How to create master template for html pages


I have some ten html pages with same header ,footer ,left and right navigation tabs can i have one master template so that i will refer header and footer and navigation tabs from each page without using any asp controls .


Solution

  • You can start with your index.html page and go to File > Save as Template. Then on the newly created template page you can set everything but the header, footer, and navigation as editable regions. Then re-create all the other pages from the template(File > New > Page From Template) and copy the editable content from your previously created pages to the editable region in the newly created pages. Once you transfer the content over to the pages created from the template, if you change the header or footer or navigation on the template it will update all pages created from that template.