Lesson 1,
Topic 1
In Progress
Using ColorsĀ
You can style the color of borders, texts, and backgrounds in the following examples
Border
<h1 style=”border:2px solid Tomato;”>Hello World</h1>Ā
Text
<h1 style=”color:Tomato;”>Hello World</h1>Ā
<p style=”color:DodgerBlue;”>Lorem ipsum…</p>
Background
<h1 style=”background-color:DodgerBlue;”>Hello World</h1>Ā
<p style=”background-color:Tomato;”>Lorem ipsum…</p>Ā
Now you are ready to test yourself, letās start this exerciseĀ