我的代码如下:
<html> <head> <style> p { color: red; } </style> </head> <body> <p>Paragraph 1</p> <p>Paragraph 2</p> </body> </html>
<style> p { color: red; } .paragraph1 { font-size: 18px; } .paragraph2 { font-size: 13px; } </style> <p class="paragraph1">Paragraph 1</p> <p class="paragraph2">Paragraph 2</p>
检查这个EXAMPLE