Home >Web Front-end >Front-end Q&A >How to move pictures in html
How to move pictures in html: first create a new html file; then create a picture through the img tag; finally move the picture by setting the "style="margin: 10px 15px 20px 30px;"" style.
The operating environment of this article: windows7 system, HTML5&&CSS3 version, DELL G3 computer
First, open the html editor and create a new html file, for example: index.html, write the basic code for the problem.
In the tag in index.html, enter the style code: style="max-width:90%".
#The browser runs the index.html page, and the image is successfully moved.
Recommended study: "HTML Video Tutorial"
The above is the detailed content of How to move pictures in html. For more information, please follow other related articles on the PHP Chinese website!