HTML
HTML 样式
尝试一下: 旧版HTML来设置背景方式
源代码:
点击运行 »
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body bgcolor="yellow"> <h2>This is a heading</h2> <p>This is a paragraph.</p> <p>The old bgcolor attribute only works on the body element.</p> <p>For future proof HTML, use styles instead:</p> </body> </html>
运行结果:
点击运行 »