ITD 110-01L — Web Page Design I
PSPad Settings
As we discussed in class, you might find it helpful to use PSPad or another HTML-aware text editor instead of Notepad. This is not a requirement, but an hour spent mastering the features will probably be repaid many times over as you work on your class projects. Here are some settings you might find useful:
- Click on View on the top menu. (See Figure 1 below.) The settings here are toggles: clicking an option will turn it on if it's off or turn if off it it's on. (Unfortunately, the display doesn't show you the current state.) The options I turn on are Active Line, Syntax, Line Numbers, Special Chars, and Ruler.
- Click on Settings | Program Settings... | Editor - behaviour. I like having these options enabled: Auto Indent Mode, Highlight Matching Brackets, and Completion of chars ({[<"'.
- Set up PSPad so that it can display your web page easily in the various
browsers. (See Figure 2.) Click on Settings | Highlighters Settings, then
click on the tab for "External Applications". Then, for both
HTML and XHTML, define several external programs (Firefox, Opera, IE, Chrome, Safari). For
each one, enter the name of the browser into the "Name" field; click on the
"..." button to browse to the executable file, most likely somewhere under
c:\program filesor\program files (x86); then click the "Add" button to save your entry. - Set up PSPad with some default XHTML templates. Instead of typing them, you
can download the templates
from the class web site.
Note that if you just click on the template links, the browser will attempt to
display them. Instead, right-click on each one, then select the appropriate
option for your browser to save the contents of the link on your system.
You should copy these files into the PSPad template folder, which is
probably something like
c:\program files\pspad\template. Then, when creating a new XHTML file, click on File | New file..., then click on the Use Template tab, then click on the XHTML folder to see the choices. (See Figure 3.) - You can adjust which prolog PSPad uses by default when creating new XHTML files.
(By default, it goes with HTML 4.0!) The first step is to make a copy of the desired template —
either the 1.0 Transitional or 1.0 Strict — named
default.xhtmlin that sane PSPad template folder. Then, within PSPad, click on Settings | Highlighter Settings | XHTML | Specification, and change the contents of the "File Masks:" box to read:*.xhtml
*.html
*.htm
then click OK as needed. (See Figure 4.)
Figure 1

Figure 2

Figure 3

Figure 4
