html 样式
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>style</title> </head> <!-- 废弃标签 center,s,u,等 --> <body style="background-color: yellow;"> <p style="background-color: red;">this is a p</p> <!-- font-family 字体 --> <p style="font-family: arial;color: red;">this is font</p> <!-- 文本对齐方式 --> <p style="text-align: center;">this is text</p> </body> </html>