Internal CSS

Internal CSS refers to CSS that is written within an HTML file.

Any CSS that is written internally will only affect that one page.

CSS rules are written in <style> tags that should be written inside the <head> tag.

Key Points

Internal CSS is written inside the <head> of a page.

Any changes made to that CSS will only change that page.

Using Internal CSS

Internal CSS is written within <style> tags which is located inside the <head> of a page.

<html>
    <head>
        <style>
            /* All Internal CSS should be written here */
            h1{
                color: blue;
            }
        </style>
    </head>

National 5 Targets

You should be able to use Internal CSS on a web page.

You should be able to explain the benefits of using Internal CSS.