Web Design

(Nancy Kaufman) #1

99


CHAPTER

Formatting Your Pages 4


TIPS


What does the type attribute do?
The type attribute instructs the browser that the
style has been written in plain text and is using
CSS. Currently, no other options exist, but adding
the attribute now future-proofs your document: If
another option is developed later, future browsers
will not have to guess what your page uses.

Does the style sheet have to appear at the end
of the head section?
No. The style can be placed anywhere within the
head. It is traditionally placed toward the bottom
of the section, but that is not a requirement.

4 Press twice.


5 Type .


The embedded style sheet is
created in the page.


3 Type type=”text/css”>.


5


3

Free download pdf