How To Use The "Includes" Option In Dreamweaver?
Includes are like library items. The advantage is that when you make a change to an "include" you don't have to update all the pages that access it. The changes will automatically be reflected in them. Therefore you do not have to upload all the pages that use the include every time you make a change, only the include itself.
- To create an include:
-
- Copy the part of the page that you would like to make into an include.
- Create a new html page "File > New"
- Go into the HTML code and delete all the default code that Dreamweaver puts in.
- Paste the code that you had copied previously make sure all links are relative to the site root. Finally save this file in an "Includes" folder.
- To insert an include into a page:
-
- Rename the file extension to ".shtml"
- Click where you would like to insert the include and "Insert > Server Side Include" (or "Insert > HTML > Script Objects > Server Side Include").
Comments, Questions & Reviews
Comments is currently disabled for this article!
The information provided in this article is for general information and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of zeronese.net does not endorse any article and/or comments published by our web users unless otherwise noted.