HTML and CSS Reference
In-Depth Information
Attribute
Description
play-during: url(
url
) mix
repeat
type
Defines a sound to be played behind an element, where
url
is the
URL of the sound file; mix overlays the sound file with the sound
of the parent element; repeat causes the sound to be repeated,
filling up the available time; and
type
is auto to play the sound
only once, none to play nothing but the sound file, or inherit
rest:
before after
Specifies the rest-before and rest-after values for the audio (CSS3)
rest-before:
type
Specifies a rest to be observed before speaking the content,
where
type
is none, x-weak, weak, medium, strong, x-strong,
or inherit (CSS3)
rest-after:
type
Specifies a rest to be observed after speaking the content,
where
type
is none, x-weak, weak, medium, strong, x-strong, or
inherit (CSS3)
richness:
value
Specifies the richness of the speaking voice, where
value
ranges
from 0 to 100; a low value indicates a softer voice, whereas a high
value indicates a brighter voice
speak:
type
Defines how element content is to be spoken, where
type
is
normal (for normal punctuation rules), spell-out (to pronounce
one character at a time), none (to suppress the aural rendering),or
inherit
voice-balance:
type
Specifies the voice balance, where
type
is left, center, right, left-
wards, rightwards, inherit, or a
number
(CSS3)
voice-duration:
time
Specifies the duration of the voice (CSS3)
voice-family:
text
Defines the name of the speaking voice, where
text
is male,
female, child, or a text string indicating a specific speaking voice
voice-rate:
type
Specifies the voice rate, where
type
is x-slow, slow, medium, fast,
x-fast, inherit, or a
percentage
(CSS3)
voice-pitch:
type
Specifies the voice pitch, where
type
is x-low, low, medium, high,
x-high, inherit, a
number
, or a
percentage
(CSS3)
voice-pitch-range:
type
Specifies the voice pitch range, where
type
is x-low, low, medium,
high, x-high, inherit, or a
number
(CSS3)
voice-stress:
type
Specifies the voice stress, where
type
is strong, moderate, none,
reduced, or inherit (CSS3)
voice-volume:
type
Specifies the voice volume, where
type
is silent, x-soft, soft, medium,
loud, x-loud, inherit, a
number
, or a
percentage
(CSS3)
Backgrounds
Styles applied to an element's background
background:
color
url(
url
)
repeat attachment position
Defines the background of the element, where
color
is a CSS
color name or value,
url
is the location of an image file,
repeat
defines how the background image should be repeated,
attachment
defines how the background image should be attached,and
position
defines the position of the background image
background: url(
url
)
position size repeat
attachment origin
clip color
Defines the background of the element, where
url
is the loca-
tion of the image file,
position
is the position of the image,
size
is the size of the image,
repeat
defines how the image should be
repeated,
attachment
defines how the image should be attached,
origin
defines the origin of the image,
clip
defines the location of
the clipping box, and
color
defines the background color (CSS3)
background-attachment:
type
Specifies how the background image is attached, where
type
is
inherit, scroll (move the image with the page content), or fixed
(fix the image and not scroll)
background-clip:
location
Specifies the location of the background box, where
location
is
border-box, padding-box, content-box, no-clip, a unit of
length
,
or a
percentage
(CSS3)