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 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
html output here we define style for h1 tag h1 here we defin... View full answer
Get step-by-step solutions from verified subject matter experts
