Web Designing 101 Class


You’re really doing an awesome thing here! @NaijaLander Thank you!


Thank you!

So do you want to join ?


Yeah. But I’ll join when the class gets to CSS. That’s where I got stuck in my learning.




Good day fellow students,

Are we ready ? @Angie


@Angie, kindly post a screen shot of the solution to the assignment.


Sorry…network issues.


Great work @Angie!!!

Now let’s begin today’s class.


So @Angie, from now one, we shall be examining other HTML tags and their uses.

The HTML Style Attribute

Setting the style of an HTML element, can be done with the style attribute.

The HTML style attribute has the following syntax:

<tagname style="property:value;">



<!DOCTYPE html>

<p>I am normal</p>
<p style="color:red;">I am red</p>
<p style="color:blue;">I am blue</p>
<p style="font-size:50px;">I am big</p>


In the <p> tag, we used the style attribute to give some of our text some color.


Now @Angie,

Create another html file and paste the code above on it. :point_up_2:t6::point_up_2:t6::point_up_2:t6:




HTML Background Color

The background-color property defines the background color for an HTML element.

This example sets the background color for a page to powderblue:

<body style="background-color:powderblue;">

@Angie, in your new html file, change the body background color as seen in the above code and post a screen shot.

What's on your mind right now?

You can save the new file as anything.htm :grin:



yes, you are cute :slight_smile:


Now, lets change text color of the I am Cute paragraph to red.

Hint: <p style="color:green;">This is a paragraph.</p>


Lol. You could have just pretended not to notice my edits.

Question please: Can an attribute have more than one property?
I tried including both color and font


Good question. Yes it can.

To use more than one property to an attribute do this

<h1 style="font-family:verdana; color:red;"> This is a heading </h1>


You can use W3Schools to get a full view of available tags and attributes.