RUNOOB.COM
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> <style> img.home { width: 46px; height: 44px; background: url(/images/img_navsprites.gif) 0 0; } img.next { width: 43px; height: 44px; background: url(/images/img_navsprites.gif) -91px 0; } </style> </head> <body> <img class="home" src="/images/img_trans.gif"><br><br> <img class="next" src="/images/img_trans.gif"> </body> </html>
运行结果