How to add pictures in html

coldplay.xixi
Release: 2022-01-12 15:43:03
Original
95918 people have browsed it

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.

How to add pictures in html

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

How to add pictures in html

us Create an html file, and then [Create an img tag], as shown in the figure below

How to add pictures in html

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

How to add pictures in html

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.

How to add pictures in html

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template