Test the W3C HTML validation now by following these steps:
- From this book’s Web page, copy this code:
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01
Transitional//EN”
“http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<style>
body { margin-top: 20px; color: lightgray;}
</style>
</head>
<body>
<P>This is paragraph one.</P>
</body>
</html>
- Paste the code into Notepad.
- Choose File➪Save As in Notepad.
A Save dialog box opens. - Click the down arrow symbol to change the Save As Type list box
from Text Documents (*.txt) to All Files. - Type in myfirst.htmas the filename.
- Click the down arrow symbol next to the Save in list box.
A list displays various locations on your hard drive. - Navigate through the list to locate the c: drive (the main root direc-
tory of c:). - Click the c:.
Your save now puts this file on the c: drive.
- Click the Save button.
The file myfirst.htm is now located on c:.