Italic, thickness, case, top (bottom) underline and strikethrough and blinking fonts are defined in the style sheet __ie

Source: Internet
Author: User
Tags lowercase

font style , attributes are: Font-style, example:

H3 {Font-style:italic}

Font style definitions are: Italic (italic), oblique (italic, tested and italic), normal (normal display, remove tilt style)

character weight , attributes are: font-weight, aggravating style can be turned off or open, using the character weight attributes, you can create a series of new aggravating font.

P {Font-weight:bold}

This is the most common way to apply the word weight, and the normal property can also suppress the font and display the font in the normal form. You can also use the value 100,200 ... 900. A normal, non-weighted font value of 400,900 is the most aggravating font parameter value. The Web browser determines the actual display of each parameter value.

You can also add lighter and bolder parameters to the word, assuming that the font you are using has been given some level of aggravated font properties. At the existing attribute level, the browser will make the display of the font a bit heavier (bolder) or lighter (lighter). (Note: either IE 3 or Netscape Communicator does not support lighter or bolder parameters.) )

font parameters (font-variant): This is a very simple property, you can reduce the normal text by half the size of the display. For example:

H2 {Font-variant:small-caps}

This attribute is not supported by either communicator or the older version of IE. IE4 is somewhat close to this standard, but it only displays the font in a normal capitalization. Presumably IE5.0 can support this attribute. Can try.

Text Variant (text-transform): This property controls the case of letters. Basic code:

B {Text-transform:uppercase}

The following are all the available parameters: uppercase makes all uppercase letters appear. Lowercase makes all letters lowercase. Capitalize makes the 1th letter of each word appear, for example: Thissentence serves as a example. none causes all inherited text-variant parameters to be ignored and the text is displayed in normal form. Example: Thissentence serves as a example.

(Note: IE3 does not support text distortion)

text decoration (text-decoration): The basic syntax is as follows:

B {Text-decoration:underline}

The following are the available parameters for Text-decoration: underline to underline the text, for example: thesewords. Overline to underline the text, for example: thesewords. Line-through the text to underline the deletion line, for example: thesewords. Blink gives text a flicker effect. None makes the above effect happen.

(Note: Communicator does not support underlining, IE4 does not support text flicker, IE3 does not support this.) )

The None argument can make the linked text appear as an underscore. Specific practices:

a:link {Text-decoration:none}
a:active {Text-decoration:none}
a:visited {Text-decoration:none}

A:link is used for normal, unread links, a:active for the links you are clicking, a:visited for links that have been visited.

The

can also be used directly with: a {text-decoration:none}, which contains the effects of the above three definitions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.