< p>中的Html图片代码 [英] Html image tag in <p>
本文介绍了< p>中的Html图片代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
先生如何将图像添加到段落中。
我尝试过:
。
i多次尝试这种语法但它不起作用
解决方案
在这里,图片的URL属于在元素的 src 属性中
文档可以在w3c学校找到
HTML< img>标签 [ ^ ]
< html >
< body >
< p >
< img src = http://www.domain.com/images/smiley.jpg >
< / p >
< / body >
< / html >
sir how to add image to paragraph.
What I have tried:
.
i tried this syntax many time but it is not working
解决方案
Here you go, URL for the image belongs in the src attribute of the element
Documentation can be found at w3c schools
HTML <img> tag[^]
<html> <body> <p> <img src="http://www.domain.com/images/smiley.jpg"> </p> </body> </html>
这篇关于< p>中的Html图片代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文