How to insert CSS into your web pages. See the code below

<!-- Method 1 - should be placed inside the header-->
    <link rel="stylesheet" href="example.css" />

    <!-- Method 2 - should also be placed inside the header-->
    <style type="text/css">
        @import URL(example.css);
    </style>

    <!-- Method 3 - should also be placed inside the header-->
    <style type="text/css">
        body{
            font-family: Gill, Helvetica, sans-serif;
        }
    </style>

    <!-- Method 4 - is plased inside the element using the style attribute-->
    <p style="color:#ff0000;">Paragraph</p>
Advertisement