Background-colors

If you want to add colors the background, use the method "bg-color". Here is how to use it:

            
selection{
    background-color:thecolor;
}
            
        

We have already discussed what colors you can put here and it is the same deal for background-colors.

Now, we can create some pretty cool styling. For example we can contrast colors and background-colors to make pretty cool designs. Here is what I came up with:

This is my main page:
            
<html>
    <head>
        <link rel="stylesheet" href="styling.css">
        <title>My BLog</title>
    </head>
    <body>
        <h1>About Eric X.</h1>
    </body>
</html>

            
        
And this is my styling.css:
            
h1{
    color:white;
    background-color: black;
}
            
        
And this is the result: