The image tag

 

: <Img> Insert the image in the page, we need to use " Img" Tag, which attribute is " Src" For example code: <Img src=http://www.jb51.net//web/" Test. Jpg" >   Conclusion: here we assume that the image files and HTML files in the same directory. Also we can give the full path of the image file. For example: <Img src=http://www.jb51.net//web/" C:/images/test. Jpg" >   The width and height: width and height by using the properties of prompt is shown in the image of the size of the page. For example code: <Img SRC=" Test. Jpg" Width=100 height=100 >   Conclusion: align: we can use the properties of " Align" To align the image. The attribute value is set to: left/right/center for example code: <Img src=http://www.jb51.net//web/" Test. Jpg" _fcksavedurl=" " Test. Jpg" " _fcksavedurl=" " Test. Jpg" " _fcksavedurl=" " Test. Jpg" " _fcksavedurl=" " Test. Jpg" " _fcksavedurl=" " Test. Jpg" " The align=left> <Img SRC=" Test. Jpg" The align=right Alt=" HTML tutorial " >   Conclusion: BORDER: we can use the properties of " Border" To set the border around the image. It can be used to create the space around the image. For example code: <Img src=http://www.jb51.net//web/" Test. Jpg" _fcksavedurl=" " Test. Jpg" " _fcksavedurl=" " Test. Jpg" " _fcksavedurl=" " Test. Jpg" " _fcksavedurl=" " Test. Jpg" " _fcksavedurl=" " Test. Jpg" " Border=4 >   Conclusion: HTML tutorial: modify the image alignment interval size BORDER attribute# 0 - #


This concludes the body part