2.6 XHTML—List Basics^41
The XHTML code to create the unordered list shown in Figure 2.12 follows:
Popular Web Servers
- Apache Web Server
- Microsoft IIS
- Sun Java System Web Server
Legacy Alert. You will find many Web pages that use the type attribute to configure
the numbering system of ordered lists and the bullet style of unordered lists. Be aware
that the type attribute is supported in XHTML 1.0 Transitional but is deprecated. In
Chapter 7 you will learn to use Cascading Style Sheets (CSS) to configure ordered and
unordered lists.
HANDS-ON PRACTICE 2.7
In this Hands-On Practice you will use heading tags and lists on the same page. Launch
Notepad or another text editor and type in the following XHTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Web Servers and Web Browsers
Popular Web Servers
- Apache Web Server
- Microsoft IIS
- Sun Java System Web Server
Popular Web Browsers
- Internet Explorer
- Firefox
- Opera
Save your file as heading5.html. Launch a browser and test your page. It should look
similar to the page shown in Figure 2.13. You can compare your work with the solution
in the student files (Chapter2/heading5.html).