Tip: Modify Dreamweaver’s default HTML New Document

Dreamweaver inserts an incomplete DOCTYPE in its default New Document. You can modify that. In Dreamweaver, open the default.html page located in Dreamweaver’s Application Folder > Configuration/DocumentTypes/NewDocuments. Look at Code View and find the DOCTYPE in line one. It says:
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
Edit that line to add a URL before the closing greater than bracket, like this:
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
“http://www.w3.org/TR/html4/loose.dtd”>
Save and close the page.

Congratulations! Every new default HTML page you create with Dreamweaver will now have a correct DOCTYPE.

This tip is from the Student edition of Macromedia Dreamweaver MX for Windows and Macintosh Visual Quickstart Guide that I’m in the process of writing.

Web Teacher to Write Student Edition for Dreamweaver MX Visual Quickstart Guide

After a happy collaboration with Peachpit Press for HTML for the World Wide Web with XHTML and CSS and author Elizabeth Castro on the Student Edition for that book, Web Teacher just signed on to write the Student Edition for another Peachpit Press book: Macromedia Dreamweaver MX for Window and Macintosh. The Dreamweaver MX Student edition is for the Visual Quickstart Guide by J. Tarin Towers.

The Student Editions contain a Student Study Guide within each chapter, providing Learning Objectives, Get Up and Running Exercises, Class Discussion Questions, and Review Questions. For instructors, Peachpit supplies a Visual QuickStart Guide Instructor Edition which provides the tools to help you guide and evaluate your students throughout your course. I’m writing this part of the Student Edition as well.

Tip: Getting Text Edit to write plain text

I have complained in this forum previously that the loss of Simple Text in Mac OS X was deeply felt. I thought this was the case because I couldn’t find a way to make Text Edit write anything but rich text. I was trying to this using the “Save as” options, in the erroneous belief that I should see an option to save as text only.

Well, Text Edit will sure enough write plain text, but the way to make that happen is in the Preferences! So simple. (Like many things, it is only simple if you know how!)