Home
HTML
HTML Colors
Example 3: HTML Colors
Run ❯❯
<!DOCTYPE html> <html> <head> <title>HTML Font Color Example</title> </head> <body> <h1 style="color:red;">The heading is in red color.</h1> <p style="color:blue;">The font of this paragraph is blue color. The value in the color property is set to 'blue'.</p> </body> </html>