专注前端素材!
源代码:
点击运行
<!DOCTYPE html> <html> <head> <style> p { background-color:yellow; } </style> </head> <body> <h1>Welcome to My Homepage</h1> <div> <p id="firstname">My name is Donald.</p> <p id="hometown">I live in Duckburg.</p> </div> <p>My best friend is Mickey.</p> </body> </html>
运行结果