Text (Text) attribute:
The attribute here shows the text in affecting WEB documentation the case.
Text-indent attribute describes the retractive rate of text:
Attribute name: ‘text-indent’
Property value: <length>| <percentage>
Initiative value: 0
Suit an object: Container element
Whether to accede: Yes
Per cent remarks: Decide according to the width of father element
The example below shows the retractive value of paragraph is 3em:
P {Text-indent: 3em}
Alignment attribute demonstrates pair of neat pattern of text:
Attribute name: ‘alignment’
Property value: Left | Right | Center | Justify
Initiative value: According to user is defined
Suit an object: Block-level Elements
Whether to accede: Yes
Per cent remarks: Be prohibited
Text-decoration attribute describes the got-up method to text:
Attribute name: ‘text-decoration’
Property value: None | [Underline | | Overline | | Line-through | | Blink]
Initiative value: None
Suit an object: All elements
Whether to accede: No (see Clarification Below)
Per cent remarks: Be prohibited
Attribute is worth a meaning to be respectively:
Underline: Underline.
Overline: Underline on.
Line-through: Delete a line.
Blink: Twinkle (the function that labels as the Blink in Navigator)
Text-shadow attribute can add the specially good effect of the shadow for text:
Attribute name: ‘text-shadow’
Property value: None | <color>[, <color>] *
Initiative value: None
Suit an object: All
Whether to accede: No
Per cent remarks: This Ju of Bei of Fang of brightness to shirk benevolence shelter row?
For example:
P {Text-shadow: Black}
Exemple general is in on the right lower part of text shows black shadow, additionally the shadow will increase the acreage of BOX.
Letter-spacing attribute makes clear the word span of text: Attribute name: ‘letter-spacing’
Property value: Normal | <length>| Auto
Initiative value: Normal
Suit an object: All elements
Whether to accede: Yes
Per cent remarks: Be prohibited
For example:
BLOCKQUOTE {Letter-spacing: 0.1em}
Word-spacing attribute makes clear span of the word in text:
Attribute name: ‘word-spacing’
Property value: Normal | <length>
Initiative value: Normal
Suit an object: All elements
Whether to accede: Yes
Per cent remarks: Be prohibited
For example:
H1 {Word-spacing: 1em}
Text-transform attribute can press the text inside BOX designation capitalization or form of the ordinary form of a Chinese numeral shows:
Attribute name: ‘text-transform’
Property value: Capitalize | Uppercase | Lowercase | None
Initiative value: None
Suit an object: All elements
Whether to accede: Yes
Per cent remarks: Be prohibited
Attribute is worth a meaning to be:
Capitalize: BOX medium every sentence initial becomes capitalization.
Uppercase: Turn all letters in BOX into capitalization.
Lowercase: Turn all letters in BOX into the ordinary form of a Chinese numeral.
White-space attribute describes the blank space in how showing text, in HTML, blank space is omited, that is to say no matter the begin that you label in a paragraph inputs how many blank space it is invalid, want to input blank space to have two methods, it is the code ” ” that inputs blank space directly, perhaps use <pre> number, the property that is similar to Pre also made in CSS:
Attribute name: ‘white-space’
Property value: Normal | Pre | Nowrap
Initiative value: Normal
Suit an object: Container element
Whether to accede: Yes
Per cent remarks: Be prohibited
For example:
PRE {White-space: Pre}
P {White-space: Normal}
Bookmark:Digg Del.icio.us Reddit
