案例:html/html5 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
3
<body>
4
5
<h2>未设置对齐方式的图像:</h2>
6
7
<p>图像 <img src ="/img/eg_cute.gif"> 在文本中</p>
8
9
<h2>已设置对齐方式的图像:</h2>
10
11
<p>图像 <img src="/img/eg_cute.gif" align="bottom"> 在文本中</p>
12
13
<p>图像 <img src ="/img/eg_cute.gif" align="middle"> 在文本中</p>
14
15
<p>图像 <img src ="/img/eg_cute.gif" align="top"> 在文本中</p>
16
17
<p>请注意,bottom 对齐方式是默认的对齐方式。</p>
18
19
</body>
20
</html>
21