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
    42.6K+ Learners
    4.51  (2615)
    Functions in Python
    1 hrs
    Beginner
    14.6K+ Learners
    4.56  (659)
    GitHub Tutorial for Beginners
    2 hrs
    Beginner
    15.3K+ Learners
    4.42  (844)
    Trees in Java
    2 hrs
    Beginner
    7.1K+ Learners
    4.51  (146)
    C for Beginners
    2 hrs
    Beginner
    121.2K+ Learners
    4.51  (7722)
    Binary Trees
    2 hrs
    Intermediate
    4.9K+ Learners
    4.58  (159)
    PowerPoint for Beginners
    2 hrs
    Beginner
    57.8K+ Learners
    4.55  (2524)
    UI / UX for Beginners
    1 hrs
    Beginner
    231.7K+ Learners
    4.53  (17235)
    Splunk Tutorial
    1 hrs
    Beginner
    3.5K+ Learners
    4.52  (190)
    Turbo C++
    1 hrs
    Beginner
    13.6K+ Learners
    4.44  (496)