Style HTML elements

Style HTML elements

<!DOCTYPE html> <html> <body style="background-color:PowderBlue;"> <h3>Look! Styles and colors</h3> <p style="font-family:verdana;color:red;"> This text is in Verdana and red</p> <p style="font-family:times;color:green;"> This text is in Times and green</p> <p style="font-size:30px;">This text is 30 pixels high</p> </body> </html>

Output

Look! Styles and colors

This text is in Verdana and red

This text is in Times and green

This text is 30 pixels high

ليست هناك تعليقات:

إرسال تعليق