01. color – Text Color
Meaning: Sets the text color.
This text is red.
<div style="color:red;">
This text is red.
</div>
Meaning: Sets the gradient text.
GRADIENT
<div style="background: linear-gradient(to left, #f32170, #ff6b08, #cf23cf, #16bf16);
-webkit-text-fill-color: transparent; -webkit-background-clip: text; font-size: 40px; font-weight:
bolder;">
GRADIENT Text.
</div>
05. text-align – Text Alignment
Meaning: Aligns text (left, right, center, justify).
Centered text.
<div style="text-align:center;">
Centered text
</div>
08. text-shadow – Shadow Effect
Meaning: Adds shadow behind text.
Shadow text
<div style="text-shadow:2px 2px 5px gray;">
Shadow text
</div>
10. google fonts – Add Custom Fonts
Meaning: Google Fonts lets you use beautiful fonts on your website.
This text uses Google Font.
<!-- Google Fonts CDN -->
<link
href="https://fonts.googleapis.com/css2?family=Bitcount+Prop+Single:wght@100..900&family=Playwrite+NO:wght@100..400&display=swap"
rel="stylesheet">
<div style="font-family:'Bitcount Prop Single', system-ui;">
This is Google Font.
</div>
11. text-decoration – Underline / Overline
Meaning: Adds underline, overline, or removes decoration.
Underlined text
<div style="text-decoration:underline;">
Underlined text
</div>
15. text-overflow – Handle Long Text
Meaning: Shows "..." when text overflows.
This is a long text that will be cut...
<div style="width:150px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">
This is a long text that will be cut...
</div>
18. text-indent – First Line Indent
Meaning: Moves first line inward.
This paragraph has an indented first line.
<div style="text-indent: 40px;">
This paragraph has an indented first line.
</div>
20. text-orientation – Orientation in Vertical Mode
Meaning: Rotates characters in vertical writing.
TEXT
<div style="writing-mode:vertical-rl; text-orientation:upright; height:100px;">
TEXT
</div>