编辑下面的代码:【加编码】
<html> <head> <style> img { float:right; } </style> </head> <body> <p>在下面的段落中,我们增加了一个样式 <b>float:right</b>,结果图像浮动到了段落的右侧。</p> <p> <img src="/demo/logocss.gif" width="95" height="84"> This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. </p> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂