Markdown中两张图片水平显示

<center class = "half">
<img src = "url1" width = 49% /> <img src = "url2"  width =49% />
</center>

示例:

<center class = "half">
<img src = "https://gimg2.baidu.com/image_search/src=http%3A%2F%2F5b0988e595225.cdn.sohucs.com%2Fq_70%2Cc_zoom%2Cw_640%2Fimages%2F20200219%2F4aefb4a6b12647bd82c7066eb2679bd5.jpeg&refer=http%3A%2F%2F5b0988e595225.cdn.sohucs.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1639092403&t=559d22600bf19917c89a33d9761acd14" width = 49% /> 
<img src = "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg3.duitang.com%2Fuploads%2Fitem%2F201602%2F08%2F20160208182110_mVfuh.jpeg&refer=http%3A%2F%2Fimg3.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1639092473&t=b973eeb8fba678ebb41f7964f7b02051"  width =49% />
</center>

效果:

猜你喜欢

转载自blog.csdn.net/zhangjin1120/article/details/121240623