HTML and CSS Reference
In-Depth Information
Apply Your Knowledge
Reinforce the skills and apply the concepts you learned in this chapter.
Adding Text Formatting to a Web Page Using Inline Styles
Instructions: Start Notepad++. Open the file apply3-1.html from the Chapter03\Apply folder of
the Data Files for Students. See the inside back cover of this topic for instructions on downloading
the Data Files for Students, or contact your instructor for information about accessing the required
files. The apply3-1.html file is a partially completed HTML file that you will use for this exercise.
Figure 3-49 shows the Apply Your Knowledge Web page as it should be displayed in a browser after
the additional HTML tags and attributes are added.
Perform the following tasks:
1. Enter G:\Chapter03\Apply\apply3-1.html as the URL to view the Web page in your browser.
2. Examine the HTML file in Notepad++ and its appearance in the browser.
3. In Notepad++, change the HTML code to make the Web page look similar to the one shown in
Figure 3-49.
insert h1
color blue
set left- and right-
margins of garbage.
jpg to 10px
make first
of text large
change this
word to red
change this
word to blue
color and italics
change this text to
red color and font-
weight bolder
Figure 3-49
Continued >
Search WWH ::

Custom Search