<!DOCTYPE html>
<html>
<head>
<title>image.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<body>
<!-- 使用img标签获取图片 -->
<!-- *****在<a>标签链接中设置href路径为image.html的路径,点击会会跳转到image.html重新显示验证码 -->
<img alt="" src="/requestAndResponse(1)/image"><a href="/requestAndResponse(1)/image.html">不懂,换</a>
<!-- <img alt="" src="/requestAndResponse(1)/image"><a href="javascipt:void(0)" onclick="">不懂,换</a> -->
</body>
</html>
<html>
<head>
<title>image.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<body>
<!-- 使用img标签获取图片 -->
<!-- *****在<a>标签链接中设置href路径为image.html的路径,点击会会跳转到image.html重新显示验证码 -->
<img alt="" src="/requestAndResponse(1)/image"><a href="/requestAndResponse(1)/image.html">不懂,换</a>
<!-- <img alt="" src="/requestAndResponse(1)/image"><a href="javascipt:void(0)" onclick="">不懂,换</a> -->
</body>
</html>
本文介绍了一个简单的HTML页面,该页面展示了如何使用<img>标签来显示图片,并通过<a>标签提供了一个链接,允许用户刷新页面以查看不同的图片。此方法可以用于验证码显示等场景。
3466

被折叠的 条评论
为什么被折叠?



