Yale University Library

 

Library Access Integration Services

Quick Links

Create WW&DCS Web Page

Setup Dreamweaver:

Edit > Preferences > Validator > XHTML 1.0 Transitional
(Check Preferences > Code Fomat > Default tag case : <lowercase>, Default attribute case : lowercase="value" )

New Document > Bais Page > HTML > Make document XHTML compliant

Start to work with new page at Design view (work with content only, and do the template later), save the file. See this page for using WW&DCS template directly and convert existing page and some specific features for XHTML compliant (such as using &amp; for & if you are use other editor that is not auto convert & to &amp; code, also Dreamweaver seems not close the break <br/>).

Validate the page at W3C Validator site > Validate by File Upload > Browse to the saved file > Check until "Passed validation". Here are some samples for the fail validates and their solutions.

Or, validate the page with a temporary link to check the validation, for this wwdcsNewPage.html, the link will like this::
http://validator.w3.org/check?uri=http://www.library.yale.edu/wsg/xhtml_update/wwdcsNewPage.html

Switch Code View > open Template, copy and paste 3 includes to replace the codes:

  • Before <title>

    <!--#include virtual="/lso/workstation/includes/doc_claim.html"-->
    <!-- Add Any Extra Link / Script Here -->
    <!-- Change Page Title Below -->

  • After </title> and start of the content (<body>)

    <!--#include virtual="/lso/workstation/includes/doc_head.html"-->
    <!-- Insert Text Here -->

  • After the end of content (</body></html>)

    <!-- End Text Here -->
    <!--#include virtual="/lso/workstation/includes/doc_end.html"-->

Save file and Upload file to server, check the display ( or do Preview in browser in Dreamweave), validate at W3C again with > Validate by URL , the check should get "passed validation".