Skip to Content
Web Design in a Nutshell, 3rd Edition
book

Web Design in a Nutshell, 3rd Edition

by Jennifer Robbins
February 2006
Intermediate to advanced
826 pages
63h 42m
English
O'Reilly Media, Inc.
Content preview from Web Design in a Nutshell, 3rd Edition

Name

style

Synopsis

<style>...</style>

Inserts style sheet rules into the head of a document. The minimum markup for embedding a Cascading Style Sheet is:

<style type="text/css">...</style>

Attributes

Internationalization(lang, dir, xml:lang)

id="text "

XHTML only. Assigns a unique identifying name to the object.

media="all|aural|braille|handheld|print|projection|screen|tty|tv"

Specifies the intended destination medium for the style information. It may be a single keyword or a comma-separated list. The default is screen.

title=" text "

Gives the embedded style sheet a title.

type=" content type " (text/css)

Required.Specifies the style sheet language. For Cascading Style Sheets (currently the only style type option), the value is text/css.

xml:space="preserve"

XHTML only. Instructs XML processors to preserve the white space in the element.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Responsive Web Design with HTML5 and CSS3

Beginning Responsive Web Design with HTML5 and CSS3

Jonathan Fielding

Publisher Resources

ISBN: 0596009879Errata Page