如何在html编码中放置图像

时间:2017-10-29 03:49:45

标签: html

enter image description here如何在html中放置图片?我试过复制和粘贴,拖放,一切。我只是不知道如何得到它的网址。这是个问题。

image of blog header type thing

1 个答案:

答案 0 :(得分:1)

这是一个非常基本的html图像标记概念:

标签

<img src="IMAGE_SOURCE" alt="ALTER_NAME" /> 

实施例

<img src="https://i.stack.imgur.com/jTxPU.jpg" alt="header_image" /> 

http://jsfiddle.net/ycrdqooc/

了解更多详情:https://www.w3schools.com/html/html_images.asp