表单练习-注册表单

这篇博客主要介绍了如何使用HTML和CSS进行表单练习,特别是针对注册表单的实现。通过代码展示,呈现了最终的视觉效果,帮助读者理解如何构建具有基本样式和布局的注册表单。
摘要由CSDN通过智能技术生成

表单练习

效果图在这里插入图片描述

代码

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>游戏注册</title>
  <style>
    /*
    类选择器:使用圆点来定义,定义一个类名
   */
    .small-font{
     
      font-size: 12px;
      color:darkgrey;
    }
    .title {
     
      font-size: 23px;
    }
    .td-height{
     
      height: 65px;
    }
    .label-font{
     
      font-size: 14px;
    }
    label{
     
      color:darkgray;
    }
    input{
     
      height: 30px;
      border: 1px solid rgb(218,218,218);
      width: 350px;
      margin-left: 3px;
      border-radius: 3px;  /*圆角*/
      padding: 5px 15px;
      font-size: 14px;
      color: black;
    }
    /**
     * 属性选择器
     */
    .btn{
     
      margin-left: 20px;
      color: white;
      width: 146px;
      height: 42px;
      border: 1px solid rgb(56,126,232);
      background-color: rgb(56,126,232);
    }
    /**
     * position属性表示对当前的这个标签在浏览器中的位置,进行修饰,
     */
    .tip{
     
      color: red;
      font-size: 14px;
    }

  </style>

</head>
<body>

<form id="form01">
  <table width="1190px" align="center" style="margin-top: 30px">
    <tr>
      <td colspan="4" class="title"> 游戏账号注册说明 </td>
    </tr>

    <tr>
      <td colspan="4" style="height: 50px;"> <hr width="100%" color="gainsboro" > </td>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值