Home >Web Front-end >HTML Tutorial >How to click on an image to jump to the page in html
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 "".
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="//m.sbmmt.com/"> <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>
Rendering:
Description:
in one Adding an tag content to the tag will give the 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!