-1
我已經寫了這個HTML代碼,但我想知道:我怎樣才能使圖像,將我帶到另一個頁面,當我點擊它?我如何製作一個圖像,當我點擊它時,帶我到另一個頁面?
<html>
<title><h2>My personal web</title></h2>
<head></head>
<body>
<a href="www.google.com"></a>
</body>
</html>
我已經寫了這個HTML代碼,但我想知道:我怎樣才能使圖像,將我帶到另一個頁面,當我點擊它?我如何製作一個圖像,當我點擊它時,帶我到另一個頁面?
<html>
<title><h2>My personal web</title></h2>
<head></head>
<body>
<a href="www.google.com"></a>
</body>
</html>
<!--If you have to redirect to internet page -->
<html>
<head></head>
<body>
<a href="www.google.com"><img src="picture.jpg" /></a>
</body>
</html>
<!--If you have to redirect to your own page -->
<html>
<head></head>
<body>
<a href="page1.html"><img src="picture.jpg" /></a>
</body>
</html>
非常感謝你,這正是我一直在尋找 –