简体   繁体   中英

How to put an image in html coding

enter image description here How do I put an image in html? I have tried copying and pasting, dragging and dropping, everything. I just don't know how to get a url for it. That's the question.

image of blog header type thing

This is a pretty basic html image tag concept:

Tag

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

Example

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

http://jsfiddle.net/ycrdqooc/

To know more details : https://www.w3schools.com/html/html_images.asp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM