源代码 :
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>开源教程(ossoft.cn)</title> </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>
运行结果