编辑下面的代码:【加编码】
<html> <head> <style> .thumbnail { float:left; width:110px; height:90px; margin:5px; } .text_line { clear:both; margin-bottom:2px; } </style> </head> <body> <h3>Image Gallery</h3> <p>Try resizing the window to see what happens when the images does not have enough room.</p> <img class="thumbnail" src="/static/images/klematis_small.jpg" width="107" height="90"> <img class="thumbnail" src="/static/images/klematis2_small.jpg" width="107" height="80"> <img class="thumbnail" src="/static/images/klematis3_small.jpg" width="116" height="90"> <img class="thumbnail" src="/static/images/klematis4_small.jpg" width="120" height="90"> <h3 class="text_line">Second row</h3> <img class="thumbnail" src="/static/images/klematis_small.jpg" width="107" height="90"> <img class="thumbnail" src="/static/images/klematis2_small.jpg" width="107" height="80"> <img class="thumbnail" src="/static/images/klematis3_small.jpg" width="116" height="90"> <img class="thumbnail" src="/static/images/klematis4_small.jpg" width="120" height="90"> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂