Know <img> tag, insert pictures into the page

In the web pages of the website for dazzling appearance, is certainly not a lack of pictures, you can use the <img>tags to insert pictures.

grammar:

< Img src = "Image Address" alt = "Replace text as you download failed" title = "prompt text" >

For example:

<img src = "myimage.gif" alt = "My Image" title = "My Image" />

explain:

. 1 , the src: the position of the image identifier;

2 , Alt: descriptive text specified image, when the image is not visible (when the download is unsuccessful), see the text specified property;

. 3 , title: providing (Text to display when the mouse over the image) in the image description of the image visible;

4, the image can be a GIF, PNG, JPEG format image files.

Example:

< P >  < span > Monkey </ span >  </ P > 
        < IMG the src = "https://game.gtimg.cn/images/yxzj/img201606/skin/hero-info/167/167-bigskin-7. JPG " alt =" image loading fails, please check your network settings! " title =" Dashengquqin " > 
        < img src =" https://game.gtimg.cn/images/yxzj/img201606/skin/hero- info / 167/167-bigskin-6.jpg " alt =" image loading fails, please check your network settings! " title =" holographic broken shadow " >

 

Guess you like

Origin www.cnblogs.com/iBoundary/p/11420115.html