web前端 链接跳转作业

作业要求:

 

代码:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>链接跳转案例</title>
  <style>
   a{font-size: 20px;
    cursor: pointer;
   }

  </style>
</head>
<body>
  <h1>欢迎您来到登录页<h1>
    <a href="./images/1.gif">首页</a>
    <a href="./images/2.gif">列表页</a>
    <a href="./images/3.gif">详情页</a>
    <a href="../day1/images/cat.gif">登录页</a>
    <h1>请登录。</h1>
     <p>&nbsp;账号:<input type="number" name="userid" value=""  placeholder="Apple ID"></p>
     <p>&nbsp;密码:<input type="password" name="pwd" placeholder="密码"></p>
     你的Apple ID是你用来登录iTuns、App Stire和iCloud的电子邮件地址或手机号码
     <p>&nbsp;&nbsp;&nbsp;&nbsp;
        <button style="background-color: blue; color: white; padding: 10px 80px; border: none; text-align: center;font-size: 16px;cursor: pointer;">登录</button></p>
     <p><span style="color: blue;">忘记了自己的Apple ID或密码?</span></p>
     <p><span style="color: blue;">没有Apple ID?立即创建一个。</span></p>

</body>
</html>

 

 

结果显示:

 

posted @ 2023-07-07 21:39  胧月北宸  阅读(29)  评论(0)    收藏  举报