|
At the end of each unit of Using Dreamweaver are some exercises related to the concepts and skills covered in the unit. For your convenience, copies of the exercises for all the units also appear on this page after these instructions (see below). The exercises allow you to create a practice Web site, using html files and images that you can download. Before you do the exercises, you should first take a look at the example practice site. Then you need to set up your own practice site. 1. Take a look at the example siteTo see an example of what the practice Web site looks like when all the exercises are completed, go to http://www.hsl.unc.edu/services/tutorials/DWclass/Example/Welcome.htm. (Your completed version may look somewhat different depending on some formatting decisions you make.) 2. Set up your practice siteTo download and use the practice html files:
Once you have completed the above steps, you will be ready to do the exercises. Have fun! ExercisesThe Using Dreamweaver exercises are organized by unit (Setting up a Web Site, Basic Techniques, Formatting Text, Working with Tables, and Templates & Libraries). If you don't know how to do an exercise, refer to the unit for an explanation. Note: If you click one of the headings below, the Web page for
that unit will open in a new window. To return to this page, click the
close box ( Setting up a Web Site1. Complete the steps described in the instructions for the exercises (see "Instructions" above), including:
2. Become familiar with going back and forth between displaying and hiding the site files window. 3. Create a new Web site within the Dreamweaver site files window. To do this, navigate to "mysite" on your desktop, and make it the root folder. Give your site a name such as "Mysite." When you create the site and it appears in your site window, it should include all the practice html files as well as a folder called "images" that contains your practice images. Your "mysite" site files window should look something like this:
4. Practice working within the Dreamweaver site files window. Create a new folder in your site called "testfolder," and a new html file called "Test." Try renaming the test folder and file. Notice that you can do these things within Dreamweaver and that if you leave Dreamweaver the changes you make are reflected in Microsoft Windows. Delete the test files and folders you created. Basic Techniques1. Create a launcher that includes the Properties palette (Hint: open the preferences). 2. Open the Web page called Pwelcome.htm. Change the Properties so that the background is a different color. 3. Add some keywords to Pwelcome.htm so that Web search engines will find it. 4. Add the image "title.gif" to the top of the page. Add the same image to the tops of Pui.htm, Pconcept.htm, and Pselect.htm. 5. Insert images into Pui.htm and Pconcept.htm. 6. Add links from Pwelcome.htm to the other pages in your site. 7. Highlight part of your page, then take a look at the html for the page. Notice how Dreamweaver highlights the html code for you. 8. Insert "top of page" rollover images at the bottom of pages Pui.htm, Pconcept.htm, and Pselect.htm. Use top.gif as the original image and topov.gif as the rollover image. Link it to the top of the page (hint: you need to put an anchor at the top of your page). 9. Insert a the "next.gif" image at the bottom of the page. Link it to UI.htm. Then add "previous.gif" and "next.gif" at the end of the other pages, and add the appropriate links. 10. Preview your page in Netscape. Formatting TextParagraph and text formatting:In Pselect.htm, experiment with changing paragraph formats, font size, font color, and paragraph alignment on the pages of your practice site. (Don't save the changes you make.) After you have done some experimenting, choose File > Revert to undo the changes. You need to do this because in Dreamweaver, manual formatting overrides formatting with html styles or CSS styles, which are in the next exercises. Styles Exercises:Use Pselect.htm or whichever page you prefer to practice with html styles and CSS styles. HTML Styles1. Create an HTML style that you combines level 3 heading with blue italics. Call it threeblue. Make it so you can apply it only to entire paragraphs. 2. Then make a style called threeRed that you combines level 3 heading with red italics. But in this case, make it so you can apply it to any range of text. 3. Create an HTML style that changes any text you select to green Arial but doesn't change other font characteristics (size or bold, italics, etc.). 4. Delete one of the styles you created. What happens? CSS Styles1. Use CSS styles to redefine an HTML tag. 2. Use CSS styles to create a custom class. 3. Create an external style sheet. Define some styles for it. Then link your Web pages to it. |
|
1. |
Create a table. Practice selecting the table, rows, columns, and cells |
|
2. |
Give the table some headings (in the top row). Add text to the other cells. |
|
3. |
Change the dimensions and numbers of rows and columns. |
|
4. |
Add a color scheme to the table. Change the colors and thickness of borders |
|
5. |
Divide a column into two and then merge the two columns back into one. |
|
6. |
Change the alignment of the table. Change the cell spacing and cell padding. |
|
7. |
Convert widths into percent and back into pixels. |
1. Save Pselect.htm under another name. Make sure the title.gif is at the top of the page, but delete everything else. Then choose Save As Template to save it as a template. Define the title as locked but make everything also editable.
2. Create a new html file and attach it to the template you created.
3. Modify the template and see how it affects the attached file.
4. Detach the template from the file.
1. Add the image DWhdr.gif to the top Pwelcome.htm.
2. In the Assets panel, click on the library icon.
2. Add your Top of Page rollover image to the library. Give it a name.
3. Insert the library item you just created into appropriate places in your pages. (You previously put a top of page rollover at the bottom of each page, so now you could try inserting it in between the sections within pages.)
4. Preview your work in your browser. Trying clicking on the rollover graphic.