Академический Документы
Профессиональный Документы
Культура Документы
ACTIVITY 9-1
Checking Spelling, Links, and Running Reports
Data Files
events.html
olive_oil.html
history.html
harvest.html
Scenario
In preparation for moving the site files up to the web server, you want to be sure there are no
errors. You decide to take care of spelling first. You have checked most pages already but you
haven’t done so with the Events.html file. Next on the list is to check for problems with links for
the whole site. Then you will run two reports to check if every graphic in the site has alternate text
and that every page has a proper title.
a) To the right of the Local Site Folder text box, select the Browse for folder icon.
b) In the Choose Root Folder dialog box, navigate to the C:\092001Data\Sending the Website to the
Web Server folder.
c) Select the Open button and select the Select button.
b) To the right of the Default Images folder text box, select the Browse for folder icon.
c) Select the graphics folder.
d) Select the Open button.
e) Select the Select button.
4. Save the site and confirm the listing of the site folders.
a) Select the Save button.
b) In the Files panel, note the site root folder Sending the Website to the Web Server and the graphics
folder.
Access the Checklist tile on your LogicalCHOICE course screen for reference
information and job aids on How to Check XHTML and HTML
ACTIVITY 9-2
Checking XHTML and HTML
Data File
C:\092001Data\Sending the Website to the Web Server\harvest.html
Scenario
The marketing manager was looking over the pages you created and suspects one of the pages may
have some errors. She suggested you check the XHTML/HTML markup and the CSS styling before
you send it to the web server. You noted a strange item on one page and you decide to check it.
Check the suspected page by using the W3C Markup Validation Service.
a) Open the browser and go to the validation site, http://validator.w3.org/
b) In the W3C Markup Validation Service web page, select the Validate by File Upload tab.
c) Select the Browse button.
d) In the Choose File to Upload dialog box, navigate to the C:\092001Data\Sending the Website to the
Web Server directory and select the file harvest.html.
e) Select the Open button.
f) Select the Check button.
g) Scroll down the page and note the errors listed. Note the line number of the first error listed. Keep
the browser open.
h) Switch to Dreamweaver and open harvest.html.
i) Select the Code button and move to line 170 as noted in the error listing.
j) Correct the <bodyy> tag to read <body>.
k) Move to line 175 and move the closing </a> tag to the end of the text Home.
l) Save the file and recheck the page by performing steps c through f again. (Switch to the web
browser and select the Back button.)
m) Leave the file open for the next activity.
Access the Checklist tile on your LogicalCHOICE course screen for reference
information and job aids on How to Check CSS Style Rules
ACTIVITY 9-3
Checking CSS Style Rules
Scenario
The marketing manager came by to remind you that the suspected page needed the CSS to be
verified as well. You assured her that you would be doing so very shortly.
Check the CSS on the suspected page by using the W3C CSS Validation Service.
a) Open the browser, if necessary, and go to the validation site, http://jigsaw.w3.org/css-validator/
b) In the W3C CSS Validation Service web page, select the By file upload tab.
c) Select the Browse button.
d) In the Choose File to Upload dialog box, navigate to the C:\092001Data\Sending the Website to the
Web Server directory and select the file harvest.html.
e) Select the Open button.
f) Select the Check button.
g) Scroll down the page and note the errors listed. Note the line number of the errors listed. Keep the
browser open.
h) Switch to Dreamweaver and the harvest.html file.
i) In the Code view, move to line 77 as noted in the error listing.
j) Notice that the three styles under the .content selector have hyphens (-) separating the styles from
their values.
k) There should be colons (:) instead. Remove the hyphens for each of the three styles and type
colons instead. When corrected, they should appear as:
.content {
padding: 10px 0;
width: 80%;
float: left;
}
ACTIVITY 9-4
Identifying the Remote Server
Scenario
Both the president and the marketing manager are aware that you are close to completion of the site.
They requested that you send the files up to the web server so the site can be viewed as a visitor will
see it.
b) Select your 9EE site and select the Edit the currently selected site icon below the listing.
c) In the category listing on the left, select Servers.
d) Below the server list on the right, select the Add new Server icon.
Note: Because you are simulating a remote web server, you will make
selections guiding Dreamweaver to the folder created on your Desktop. It will
represent the web server and all file transfers will simulate uploading your site
files to the server.
e) In the Server Name text box, type My Web Server
f) In the Connect using drop-down list, select Local/Network.
g) To the right of the Server Folder text box, select the Browse icon.
h) In the Choose Folder dialog box, select the Desktop icon in the left column.
i) Select the My Remote Web Server folder and select the Open button.
j) Select the Select button.
k) Select the Save button.
l) In the Site Setup for 9EE dialog box, select the Save button and the Done button.
ACTIVITY 9-5
Uploading the Site Files
Scenario
You have set up the Remote Server folder and you are ready to upload the entire website to the
server.
Access the Checklist tile on your LogicalCHOICE course screen for reference
information and job aids on How to Download a Web Page for Modification
ACTIVITY 9-6
Downloading a Web Page for Modifications
Data File
C:\092001Data\Sending the Website to the Web Server\products.html
Scenario
A colleague has detected an error on one of the pages and suggested you correct it before too long.
You know it is convenient to download the file and correct the error in Dreamweaver, so you decide
to do that now.