Home>Article>Web Front-end> How to add pictures in html
How to add a picture to html: First open the editor and create a new img tag; then add the address of an image to the attribute [src] of the img tag; finally drag the html file into the browser.
The operating environment of this tutorial: Windows 7 system, Sublime Text version 3, DELL G3 computer.
htmlHow to add pictures:
Click to open the html editor sublime_text, the details are as shown below
us Create an html file, and then [Create an img tag], as shown in the figure below
After creating the img tag, we add the address of an image to the attribute [src] of the img tag 】, the details are as shown below
We drag the html file into the browser, and then you can view the effect of adding the image, as shown in the details below.
Related learning recommendations:html video tutorial
The above is the detailed content of How to add pictures in html. For more information, please follow other related articles on the PHP Chinese website!