RUNOOB.COM
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>电脑学习网教程(runoob.com)</title> <style> img.ex1 { position:absolute; bottom:0px; } img.ex2 { position:relative; bottom:-100px; } </style> </head> <body> <img class="ex1" src="logocss.gif" width="95" height="84"> <h1>This is a heading</h1> <img class="ex2" src="logocss.gif" width="95" height="84"> </body> </html>
运行结果