HTML Internal Stylesheet


Example

You can also include CSS elements internally by using the <style> tag:

<head>
    <style type="text/css">
        body {
           background-color: gray;
        }
    </style>  
</head>

Multiple internal stylesheets can be included in a program as well.

<head>
    <style type="text/css">
        body {
           background-color: gray;
        }
    </style>

    <style type="text/css">
        p {
           background-color: blue;
        }
    </style>  
</head>