HTML Introduction to HTML and CSS Make It Beautiful With CSS Test: Styling by Element and Class

Bandar Jamous
Bandar Jamous
Pro Student 175 Points


Okay,now i feel like i missed out on some stuff that now I do not understand -_-.

<!doctype html>
    <link href="styles.css" rel="stylesheet">

    <p class="main-pg"></p>


1 Answer

Robin Goyal
Robin Goyal
4,581 Points

I'd recommend reviewing the previous sections involving CSS. But the first step was to add a main-pg class to the paragraph tag. Next is to create a rule for the main-pg class in the styles.css file which is done by:

.main-pg {


The next step is to create a border which is a border property with the format <line-width> <line-style> <color>.

.main-pg {
    border: 4px solid red;