![]() Back to www.deitel.com |
1 <?xml version = "1.0"?> |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
4 |
5 <!-- Fig. 6.5: external.html --> |
6 <!-- Linking external style sheets --> |
7 |
8 <html xmlns = "http://www.w3.org/1999/xhtml"> |
9 <head> |
10 <title>Linking External Style Sheets</title> |
11 <link rel = "stylesheet" type = "text/css" |
12 href = "styles.css" /> |
13 </head> |
14 |
15 <body> |
16 |
17 <h1>Shopping list for <em>Monday</em>:</h1> |
18 <ul> |
19 <li>Milk</li> |
20 <li>Bread |
21 <ul> |
22 <li>White bread</li> |
23 <li>Rye bread</li> |
24 <li>Whole wheat bread</li> |
25 </ul> |
26 </li> |
27 <li>Rice</li> |
28 <li>Potatoes</li> |
29 <li>Pizza <em>with mushrooms</em></li> |
30 </ul> |
31 |
32 <p> |
33 <a href = "http://www.food.com">Go to the Grocery store</a> |
34 </p> |
35 |
36 </body> |
37 </html> |
|
|
Check Out Our Other CSS Tutorials
Introduction to Cascading Style Sheets (CSS)