Home > Web Front-end > HTML Tutorial > How to click on an image to jump to the page in html

How to click on an image to jump to the page in html

青灯夜游
Release: 2023-01-05 16:13:33
Original
69956 people have browsed it

htmlHow to click on the picture to jump to the page: first use the img tag to insert the picture, and then wrap the a tag around the img tag so that the img tag has a hyperlink; the specific syntax is "How to click on an image to jump to the page in html".

How to click on an image to jump to the page in html

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

htmlClick on the picture to jump to the page

<a href="https://www.php.cn/"> 
<img  src="img/1.jpg"    style="max-width:90%"  style="max-width:90%" / alt="How to click on an image to jump to the page in html" >
</a>
Copy after login

Rendering:

How to click on an image to jump to the page in htmlDescription:

in one Adding an How to click on an image to jump to the page in html tag content to the tag will give the How to click on an image to jump to the page in html a hyperlink. Then you can continue to write text later, and this text will be displayed as a hyperlink. Click the text to enter the hyperlink.

Recommended tutorial: "html video tutorial"

The above is the detailed content of How to click on an image to jump to the page 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