Home
HTML
HTML Colors
Example 5: HTML Colors
Run ❯❯
<!DOCTYPE html> <html> <head> <title>HTML Font Color Example</title> </head> <body> <h1 style="background-color:Aquamarine;;">Background Color of The Heading is Aquamarine.</h1> <p style="background-color:Coral;">Background Color of the paragrah is Coral. Setting background color of an element is easy with color names.</p> </body> </html>