在文本中使用img标签,默认对齐方式是bottom。

image.png
结论:当图片的align为bottom或middle时,以文本为基准。当图片的align为top时,以父级标签最高处为基准。
1. 当第一个图设为align:bottom
1-1. 第二个图设为bottom

image.png
1-2. 第二个图设为middle

image.png
1-3. 第二个图设为top

image.png
2. 第一个图设为middle
2-1. 第二个图设为bottom

image.png
2-2. 第二个图设为middle

image.png
2-3. 第二个图设为top

image.png
3. 第一个图设为top
3-1. 第二个图设为bottom

image.png
3-2. 第二个图设为middle

image.png
3-3. 第二个图设为top

image.png