The usage of analytic text-transform and the example tutorial

Source: Internet
Author: User
Grammar:
Text-transform:none | Capitalize | Uppercase | lowercase
Parameters:
None: No conversion occurs
Capitalize: Converts the first letter of each word to uppercase, and the remaining no conversions occur
Uppercase: Convert to uppercase
Lowercase: Convert to lowercase
Description:
Retrieves or sets the case of the text in the object.
The corresponding script attribute is texttransform. Please refer to the other bibliography I have written.

Text-transform and Font-variant differences

Both Text-transform and font-variant can convert the English text to uppercase and lowercase. But Font-variant's only role is to convert the English text into "small" uppercase text, noting that this is "small". In general, the Font-variant attribute is rarely used, and for the case conversion of English, we use the Text-transform property instead of the Font-variant property.

Example

Edit

div {text-transform:none;} div {text-transform:capitalize;} div {text-transform:uppercase;} div {text-transform:lowercase;}

Note: 1. Use Text-transform only to work with English. Invalid for Kanji

2. Use Text-transform to see immediate effects with Dreamweaver

Examples of Text-transform

<! DOCTYPE html>
Related Article

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.