Cascading Style Sheets (CSS) give you much greater control over the presentation and formatting of your page. Style rules can be placed in embedded styles directly within a Web page, or in external style sheets, which is discussed in Chapter 9. To create an embedded style sheet, you need to add a
style tag block to the head of the document. The tag will take one required attribute,
type, which must be set to a value of
Within the tag block, you will create your style rules. Each rule will consist of a selector. There are many types of selectors that you can use; this chapter looks at the most basic of those: the element selector. An element selector is ...