Home - Help & Support - Contact Us
    

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").

Attachments & Downloads

No attachments were found.

Would you like to...



Print this page Print this page Email this page Email this page Post a comment Post a comment Subscribe me (Subscribe to receive notification when this article is updated.) Add to favorites Add to favorites Remove Highlighting Remove Highlighting Edit this Article

User Opinions (0 votes)

No users have voted.

How would you rate this answer?




Thank you for rating this answer.


Related Articles



Visitor Comments

No visitor comments posted. Post a comment

Post a comment, a question or any related helpful information

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Name or Website::
   Email:
* Comment:
* Enter the code below: