CSS — Text Styling

CSS — Text Styling
CSS — Text Styling

We have text styling in the HTML section but it’s much better to do all the styling with CSS and it makes the actual content looks less messy when the styling is not in the element. You can use the following properties to style the text:

1. Bold

font-weight: 900;

2. Italic

font-style: italic;

3. Underlined

text-decoration: underline;

4. Big text

font-size: 200%;

You can select the space between the line(usually 1.5–2)

line-height: 5;
CSS Text Styling Code
CSS Text Styling Code
CSS Text Styling Output
CSS Text Styling Output

Instructor ~ TARUN KUMAR

LAZY SYNTAX

--

--