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
    54.4K+ Learners
    4.47  (5101)
    Functions in Python
    1 hrs
    Beginner
    17.6K+ Learners
    4.47  (1047)
    GitHub Tutorial for Beginners
    2 hrs
    Beginner
    20.1K+ Learners
    4.43  (1317)
    Trees in Java
    2 hrs
    Beginner
    8.1K+ Learners
    4.5  (191)
    C for Beginners
    2 hrs
    Beginner
    149.6K+ Learners
    4.48  (13491)
    Binary Trees
    2 hrs
    Intermediate
    5.5K+ Learners
    4.57  (211)
    PowerPoint for Beginners
    2 hrs
    Beginner
    71.1K+ Learners
    4.53  (4737)
    UI / UX for Beginners
    1 hrs
    Beginner
    317.1K+ Learners
    4.53  (33263)
    Splunk Tutorial
    1 hrs
    Beginner
    4.1K+ Learners
    4.54  (304)
    Turbo C++
    1 hrs
    Beginner
    15.9K+ Learners
    4.41  (667)