<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>style Tag</title>
        <style> /* The area where CSS styles can be written */
            p {
                color: red;
            }
        </style>
    </head>
    <body>
        <p>
            The style tag represents an area where CSS styles can be
            written in an HTML document.
        </p>
    </body>
</html>
Rendered Output
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Using Multiple style Tags</title>
        <style>
            /* Desktop */
            h1 {
                color: white;
                background-color: black;
            }
            p {
                color: gray;
            }
        </style>
        <style>
            /* Mobile */
            @media (max-width: 500px) {
                h1 {
                    font-size: 1.8em;
                }
                p {
                    font-size: 0.9em;
                }
            }
        </style>
    </head>
    <body>
        <h1>Using Multiple style Tags</h1>
        <p>
            Multiple style tags can be included in an HTML document.
        </p>
    </body>
</html>
<h2 style="color: white; background-color: black;">
    style Attribute
</h2>
<p style="color: gray;">
    Inline styles refer to applying styles only to a specific element
    by using the style attribute within the element to which CSS is applied.
</p>
Rendered Output
<head>
    <link rel="stylesheet" href="styles.css">
</head>
<head>
    <link rel="stylesheet" href="styles1.css">
    <link rel="stylesheet" href="styles2.css">
    <link rel="stylesheet" href="styles3.css">
</head>
@import url("URL of the external CSS file");
@import url("URL of the external CSS file") list-of-media-queries;
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>style Tag</title>
        <style> /* The tag that provides an area for writing CSS rules */
            @import url("sheet.css");
        </style>
    </head>
    <body>
        ....
    </body>
</html>
<style>
    @import url("sheet1.css");
    @import url("sheet2.css");
    @import url(sheet3.css);
</style>
<style>
	@import url("sheet2.css"); /* @import must come first. */
	h1 {color: red;}
	p {color: blue; background-color: yellow;}
	table td, 
	table th {border: 1px solid #000000;}  
</style>
<style>
	h1 {color: red;} 
	p {color: blue; background-color: yellow;} 
	table td, 
	table th {border: 1px solid #000000;} 
	@import url("sheet2.css"); /* @import must come first. */
</style>