HTML Style Internal CSS

An internal CSS is used to define a style for a single HTML page.
Other than external stylesheet, adding style every inline element becomes hard to manage and also sometimes style is repeated.
Inline CSS is added into style element defined n head element. The syntax is as followed:

Syntax :
    tagname {
        property1: value1;
        property2: value2;
    }

Internal CSS

        <head>
            <style>
                p {
                    color: #fff;
                    background-color: #3f51b5
                }
            </style>
        </head>
        <body>
            <p>Internal CSS styled text line</p>
        </body>

Internal CSS styled text line


Shift key + alt key