Edit

Embedded Styles

The Internal style is used to apply CSS style to mulitple element using <style> tag in HTML document. Internal style sheets are defined in the <head> section of an HTML document. You can define many styles in <style> tag.

Example of Internal CSS style 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.