Saturday, 3 March 2012

Create HTML Pages, Insert Content & Forms


Now it is time to use Dreamweaver to create the HTML pages and insert content and forms if any.
Once you have your template, css stylesheet and server site includes/ library items ready, you can begin creating the actual pages of your site as per your site plan.
Keep in mind that if you are using server side includes you will need to create .shtml or .shtm pages.

Create HTML/ SHTML Pages in Dreamweaver

To create the HTML/ SHTML pages:
  1. File > New > Page from Template > Project Name > Template Name > Create]
  2. Name and save the file into the project folder. Name the homepage index.shtml if using SSI and if your remote hosting server is a UNIX server. If it is a NT server most likely the homepage will need to be named 'default.shtml'. If you are not using SSI, leave the file extensions as .htm.
  3. Change the HTML page title to something more appropriate [ Modify > Page Properties >Title/ Encoding > Title]
  4. Put in appropriate meta data for the page i.e. keywords and description of the page
    • Insert > HTML > Head Tags > Keywords
    • Insert > HTML > Head Tags > Description
  5. Type or paste the Heading and content of the page into the appropriate edible region. Apply the styled formatting (e.g. H1 tag or custom style) from the Properties Panel
  6. Insert any images/ flash assets etc. into the editable region and and align them
    • Insert > Image
    • Insert > Media > Flash
  7. Replace any library items/ SSI e.g. sub menus
  8. Similarly create all the other HTML/ SHTML pages you need.

Forms in Dreamweaver

Some pages might require form elements such as the "contact us" form:
Insert > Form > select the form element of choice. A form must be within a form tag so select "Form" first, then insert the other form fields like Text field etc. within the form tag that appears.
form
To make a form work you will need a php, asp or cgi script. You can also make use of free services available.

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More