属性选择器
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>form表单</title> <style> [title] { color: blue; } [title=te] { color: red; } </style> </head> <body> <p title="te">属性选择器</p> </body> </html>