write a code in HTML with background colour blue, front size of the text should be 20 , first line should be in purple colour second in navy colour and third should be in green colour
please someone answer
I'll mark u as brainiest
Answers
Answered by
4
<!DOCTYPE html><html> <head> <style type="text/css" media="all"> body { font-size: 20px; background-color: blue; } .p1 { color: purple; } .p2 { color: navy; } .p3 { color: green; } </style> </head> <body> <p class="p1">Hello, world!</p> <p class="p2">Hello, world!</p> <p class="p3">Hello, world!</p> </body></html>
Similar questions
Math,
1 month ago
Business Studies,
1 month ago
Geography,
3 months ago
Business Studies,
9 months ago
English,
9 months ago