源代码:
下载代码
AI 编程工具
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> <style> p::before { content: open-quote; } p::after { content: close-quote; } p#testID:before { content: no-open-quote; } p#testID:after { content: no-close-quote; } </style> </head> <body> <p>菜鸟教程</p> <p id="testID">强的很!!!</p> 注意:id 为 testID 的 p 标签不会添加引号。 </body> </html>
运行结果: