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
    56K+ Learners
    4.47  (5602)
    Functions in Python
    1 hrs
    Beginner
    18K+ Learners
    4.46  (1136)
    GitHub Tutorial for Beginners
    2 hrs
    Beginner
    20.8K+ Learners
    4.45  (1480)
    Trees in Java
    2 hrs
    Beginner
    8.3K+ Learners
    4.54  (241)
    C for Beginners
    2 hrs
    Beginner
    156.6K+ Learners
    4.49  (16545)
    Binary Trees
    2 hrs
    Intermediate
    5.6K+ Learners
    4.6  (233)
    PowerPoint for Beginners
    2 hrs
    Beginner
    72.8K+ Learners
    4.53  (5236)
    UI / UX for Beginners
    1 hrs
    Beginner
    325.7K+ Learners
    4.53  (35418)
    Splunk Tutorial
    1 hrs
    Beginner
    4.2K+ Learners
    4.5  (330)
    Turbo C++
    1 hrs
    Beginner
    16.2K+ Learners
    4.41  (722)