RUNOOB.COM
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> <style> [lang|=en] { color:blue; } </style> </head> <body> <h2>将适用:</h2> <p lang="en">Hello!</p> <p lang="en-us">Hi!</p> <p lang="en-gb">Ello!</p> <hr> <h2>将不适用:</h2> <p lang="us">Hi!</p> <p lang="no">Hei!</p> </body> </html>
运行结果