CSS

Shorthand Property

Shorthand Property

You can utilize the textual style property to set all the textual style properties immediately. For example:

<!DOCTYPE html>
<html lang="en">
<head>
    
</head>
<body>
    <p style="font: italic 25px algerian;">
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo, id excepturi inventore non fugit rerum ratione est assumenda tenetur a! Id voluptas tempora est consequatur excepturi debitis, facere quo laudantium!
    </p>
</body>
</html>
Output:


 

Top course recommendations for you

    Linux Tutorial
    2 hrs
    Beginner
    53.4K+ Learners
    4.48  (4813)
    Functions in Python
    1 hrs
    Beginner
    17.3K+ Learners
    4.51  (932)
    GitHub Tutorial for Beginners
    2 hrs
    Beginner
    19.8K+ Learners
    4.43  (1272)
    Trees in Java
    2 hrs
    Beginner
    8.1K+ Learners
    4.51  (183)
    C for Beginners
    2 hrs
    Beginner
    146.5K+ Learners
    4.49  (12476)
    Binary Trees
    2 hrs
    Intermediate
    5.4K+ Learners
    4.56  (196)
    PowerPoint for Beginners
    2 hrs
    Beginner
    70K+ Learners
    4.52  (4348)
    UI / UX for Beginners
    1 hrs
    Beginner
    312.3K+ Learners
    4.52  (31823)
    Splunk Tutorial
    1 hrs
    Beginner
    4K+ Learners
    4.54  (263)
    Turbo C++
    1 hrs
    Beginner
    15.8K+ Learners
    4.41  (656)