HTML and CSS Reference
In-Depth Information
Attribute
Description
hanging-punctuation: type
Determines whether a punctuation mark may be placed outside
the text box, where type is none, start, end, or end-edge (CSS3)
letter-spacing: value
Specifies the space between letters, where value is a unit of
length or the keyword “normal”
line-height: value
Specifies the height of the lines, where value is a unit of length or
the keyword, “normal”
punctuation-trim: type
Determines whether or not a full-width punctuation character
should be trimmed if it appears at the start or end of a line,
where type is none, start, end, or adjacent (CSS3)
text-align: type
Specifies the horizontal alignment of text within the element,
where type is inherit, left, right, center, or justify
text-align-last: type
Specifies how the last line of a block is aligned for fully justified
text, where type is start, end, left, right, center, or justify (CSS3)
text-decoration: type
Specifies the decoration applied to the text, where type is blink,
line-through, none, overline, or underline
text-emphasis: type
location
Specifies the emphasis applied to the text, where type is none,
accent, dot, circle, or disk and location is before or after (CSS3)
text-indent: length
Specifies the amount of indentation in the first line of the text,
where length is a CSS unit of length
text-justify: type
Specifies the justification method applied to the text, where type
is auto, inter-word, inter-ideograph, inter-cluster, distribute,
kashida, or tibetan (CSS3)
text-outline: value1
value2
Specifies a text outline, where value1 represents the outline thick-
ness and value2 represents the optional blur radius (CSS3)
text-shadow: color x
y blur
Applies a shadow effect to the text, where color is the color of
the shadow, x is the horizontal offset in pixels, y is the vertical
offset in pixels, and blur is the size of the blur radius (optional);
multiple shadows can be added with shadow effects separated
by commas (CSS3)
text-transform: type Defines a transformation applied to the text, where type is capi-
talize, lowercase, none, or uppercase
text-wrap: type Specifies the type of text wrapping, where type is normal, unre-
stricted, none, or suppress (CSS3)
unicode-bibi: type Allows text that flows left-to-right to be mixed with text that
flows right-to-left, where type is normal, embed, bibi-override, or
inherit (CSS3)
vertical-align: type Specifies how to vertically align the text with the surrounding
content, where type is baseline, middle, top, bottom, text-top,
text-bottom, super, sub, or one of the CSS units of length
white-space: type Specifies the handling of white space (blank spaces, tabs, and new
lines), where type is inherit, normal, pre (to treat the text as pre-
formatted text), or nowrap (to prevent line-wrapping)
white-space-collapse: type Defines how white space inside the element is collapsed, where
type is preserve, collapse, preserve-breaks, or discard (CSS3)
word-break: type
Controls line-breaks within words, where type is normal, keep-all,
loose, break-strict, or break-all (CSS3)
word-spacing: length
Specifies the amount of space between words in the text, where
length is either a CSS unit of length or the keyword “normal” to
use normal word spacing
Search WWH ::




Custom Search