CSS text-transform Property
CSS text-transform Property Tutorial
This Blog You Will Learn ஃ CSS text-transform Property
ஃ CSS text-transform Property
ஃ Syntax
ஃ Syntax
ஃCSS text-transform Property
ஃ structure diagram examples
ஃCSS text-transform Property
ஃ structure diagram examples
ஃ Examples
ஃ Output
ஃ Examples
ஃ Output
CSS text-transform Property
CSS text-transform property is used to control capitalization of text. change text appears visually in browser without changing the original HTML Content.
HTML text actual in stays same, but CSS change how is displayed.
Syntax
1) uppercase
2) lowercase
3)capitalize
CSS text-transform Property Tutorial
Example
CSS text-transform Property Tutorial
Explain Program
<!DOCTYPE html>
- This declare the document type.
- browser that the document is written in html
Step 2]
<html>.... . </html>
- html is the root element of the html page.
- Every thing inside it is part of the webpage.
Step 3]
- <head> section contains metadata and css styles,not visible content.
- Contains styles, metadata and page setting
Step 4]
<style> tag Internal CSS Section
CSS text-transform Property
1) .upper
- This is class selector.
- it applies to any element with class="upper".
- text-transform: uppercase;
- Converts all letters is capital letter.
Example
Output
2) .lower
- applies to element with class="lower"
- converts all letters into small letters.
- Converts all letters to small letter.
Example
Output
3) .cap
- Applies to element with class="cap".
- converts the first letter of each word into capital.
Example
Output
Css Text Transformation
Step 5]
Step 6]
<body> section
1) Original text css text transformation
Because of upper it display
2) original text CSS TEXT TRANSFORMATION PROPERTY
Because of lower it case
3) original text CSS Text Transformation Property
Because of capitalize it display
Step 7]
</body> </html>
CSS text-transform Property Tutorial
Output
Related Post :-

Post a Comment