Edit

HTML style Tag

The <style> tag is used to represents the style of the content in HTML document.

Example of Code

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Example of HTML style tag</title>
    <style type="text/css">
        h1 { color: #ff0000; }
        p { color: #00ff00; }
    </style>
</head>
<body>
    <h1>This is a heading</h1>
    <p>This is a paragraph.</p>
</body>
</html>

Output

    Example of HTML style tag       

This is a heading

   

This is a paragraph.