web网页---QQ注册页面的实现

代码部分

复制代码
<title>QQ注册</title>
</head>
<style>
    
    .text-style1 {
        color: black;
        font-size: 28px;
        
    }
    .text-style2 {
        color: rgb(37, 37, 37);
        font-size: 17px;
    }
    .text-style3{
        color: rgba(189, 185, 185, 0.904);
        font-size: 9px;
    }
    .text-style4 {
        color:  rgba(189, 185, 185, 0.904);;
        font-size: 10px;
    
        
    }
    .blue-text {
        color: hwb(210 46% 4%);
        font-size: 17px;
    }    
    input {
    width: 240px;
    padding: 9px ;
    border: 1px solid #ddd;
    border-radius: 2px;
    margin-bottom: 6px;
}
    select {
    padding: 8px ;
    border: 1px solid #ddd;
    border-radius: 2px;
    margin-bottom: 6px;
}

    button {
    background-color: #5893f9;
    color: white;
    border: none;
    height: 40px;
    padding: 9px 108px;
    cursor: pointer;
    border-radius: 2px;
}
    .box {
        color: rgba(189, 185, 185, 0.904);
        font-size: 10px;
    }
</style>
<body>
    
        <table width="1100" border="0" cellspacing="0" cellpadding="0" >
            
            <tr >
                <td colspan="2" ><img  style="width: 210px;" src="./images/QQ注册.png" alt="QQ"></td>   
                <td >
                    <div class="register-container">
                        <p class="text-style4" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="./images/QQ.png" alt="QQ" width="35px">&nbsp;&nbsp;&nbsp; 简体中文&nbsp;&nbsp;&nbsp;&nbsp;意见反馈</p>
                       <p class="text-style1">欢迎注册QQ<br>
                        <span class="text-style2">每一天,乐在沟通。</span>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <span class="blue-text"><a href="http:\\www.qq.com" target="_blank">免费靓号</a></span>
                    </p>
                        <form id="qq-form" action="#" method="post">
                            <p>
                                <input type="text" id="username" name="username" placeholder="昵称" required>
                            </p>
                            <p>
                                <input type="password" id="password" name="password" placeholder="密码" required>
                            </p>
                            <p>
                                <select name="phone" id="phone" >
                                    <option value="+86">+86</option>
                                    <option value="+886">+886</option>
                                    <option value="+852">+852</option>
                                    <option value="+853">+853</option>
                                </select>
                                
                                <input step="width=200px" type="text" id="number" name="number" placeholder="手机号码" required><br>
                                <span class="text-style3">可通过手机号找回密码</span><br>
                            </p>
                          
                            <p><button type="submit">立即注册</button></p>
                           <span class="box">
                                <input type="checkbox" name="box" value="box" style="width: 8px;">我已阅读并同意相关服务条款和隐私政策
                           </span>
                                
                            
                            
                                
                        </form>
                    </div>
                </td>
              
            </tr>
         
        </table>

    
    
    
</body>

页面实现---运行结果

相关推荐
子兮曰7 小时前
async/await高级模式:async迭代器、错误边界与并发控制
前端·javascript·github
恋猫de小郭7 小时前
2026 Flutter VS React Native ,同时在 AI 时代 VS Native 开发,你没见过的版本
android·前端·flutter
GIS之路9 小时前
ArcGIS Pro 中的 Notebooks 入门
前端
IT_陈寒10 小时前
React状态管理终极对决:Redux vs Context API谁更胜一筹?
前端·人工智能·后端
Kagol11 小时前
TinyVue 支持 Skills 啦!现在你可以让 AI 使用 TinyVue 组件搭建项目
前端·agent·ai编程
柳杉11 小时前
从零打造 AI 全球趋势监测大屏
前端·javascript·aigc
simple_lau11 小时前
Cursor配置MasterGo MCP:一键读取设计稿生成高还原度前端代码
前端·javascript·vue.js
睡不着先生11 小时前
如何设计一个真正可扩展的表单生成器?
前端·javascript·vue.js
天蓝色的鱼鱼11 小时前
模块化与组件化:90%的前端开发者都没搞懂的本质区别
前端·架构·代码规范
明君8799711 小时前
Flutter 如何给图片添加多行文字水印
前端·flutter