HTML and CSS Reference
In-Depth Information
1
oceanside.html
filename is not
highlighted
If necessary, click the
Notepad++ button on
the taskbar to display
oceanside.html. Click
File on the
navigation
bar and then
click New.
new 2 filename is highlighted
because that is the file that is open
paragraph
element has
10 points
each side
all links will be black in all
states with no text-decoration
(no underline)
no border
around image
Enter the
CSS code,
as shown in Table 4-8,
using the t a b key to
align text, as shown
(Figure 4-19).
table style is 65% of browser window
with left and right margins that are
equal; border-color $545859 in ridge
style and 10px wide
five new classes
(in red) defined in
external style sheet
stripe class used
to separate rows
bolder class used to make
select data cells bold only
in Dining Web page
caption displays
below table in italics
th element (table
heading) will
have #757775
background color
with white text
Figure 4-19
2
With the USB drive plugged into your computer, click File on the menu bar and then
click Save As. Type stylesch4.css in the File name text box. If necessary, navigate to
the G:\Chapter04\
ChapterFiles folder.
Click the Save button
in the Save As dialog
box to save the file as
stylesch4.css.
Open Internet
Explorer and navigate
to jigsaw.w3.org/css-
validator/#validate_
by_upload.
Validate the
stylesch4.css file.
Return to the
stylesch4.css
Notepad++ file and
print a hard copy
of the style sheet
(Figure 4-20).
Figure 4-20
 
Search WWH ::




Custom Search