Question: Analyze the flowing code and understand how you can add text colors using css h1 { } h2{ } P{ color: #00ff00; color:red; color: rgb(0,0,255);

Analyze the flowing code and understand how you can add text colors using css


h1 { } h2{ } P{ color: #00ff00; color:red; color: rgb(0,0,255); This

h1 { } h2{ } P{ color: #00ff00; color:red; color: rgb(0,0,255); This is heading 1 This is an ordinary paragraph. Notice that this text is red. The default text-color for a page is defined in the body selector. This it header 2

Step by Step Solution

3.49 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

html output here we define style for h1 tag h1 here we defin... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!