zoukankan      html  css  js  c++  java
  • HTML学习基本代码

    HTML的代码比较繁琐,在此记下一些基本的东西,以后自己回来看看

     1 <html>
     2 <head>
     3 <title>我的人生啊</title>
     4 <style type="text/css">
     5 input{background-color:red;}
     6 .highlight{font-size:xx-large;color:red;}
     7 p.sign{font-size:34;color:green;}
     8 #user
     9 {
    10 font-size:xx-large;color:blue;
    11 }
    12 </style>
    13 </head>
    14 <body bgcolor="#ccdd" >
    15 <table align="center" border="1">
    16 <tr>
    17 <td><label for name="username">用户名</label></td><td><input type="text" id="username" style="background-color:red"></td>
    18 </tr>
    19 <tr>
    20 <td><label for name="password">密码</label></td><td><input type="password" id="password"></td>
    21 </tr>
    22 <tr>
    23 <td><label for name="pass">确认密码</label></td><td><input type="password" id="pass"></td>
    24 </tr>
    25 <tr>
    26 <td>职业</td>
    27 <td>
    28 <select>
    29 <option>老师</option>
    30 <option>学生</option>
    31 <option>主任</option>
    32 <option>校长</option>
    33 </select>
    34 </td>
    35 </tr>
    36 <tr>
    37 <td colspan="2">性别
    38 <input type="radio" id="boy" name="gender"/><label for="boy"></label>
    39 <input type="radio" id="girl" name="gender"/><label for="girl"></label>
    40 <input type="radio" id="secret" name="gender"/><label for="secret">保密</label>
    41 </td>
    42 </tr>
    43 <tr>
    44 <td>省份</td>
    45 <td>
    46 <select>
    47 <option>山东</option>
    48 <option>北京</option>
    49 <option>河南</option>
    50 <option>广州</option>
    51 </select>
    52 </td>
    53 </tr>
    54 </table>
    55 <div align="center" style="cursor:url(F:ICONfive.cur);color:blue"><u>点我呀</u></div>
    56 <div align="center"><img src="H:picture	ree.jpg" width="300"height="250" />
    57 <img src="H:pictureliabrary.jpg" width="300"height="250" /></div>
    58 <div class="highlight"><u>我是中国人</u></div>
    59 <p id="user">你是我朋友</p>
    60 <p class="sign">你好,欢迎来到中国!</p>
    61 </body>
    62 </html>

    还有很多代码没有记录,接下来再添加

    What I don't dare to say is I can't!
  • 相关阅读:
    自定义simple_tag
    测试流程规范系列(2):测试计划
    测试流程规范系列(4):测试准入
    测试流程规范系列(3):测试用例
    测试流程规范系列(1):测试流程
    Jmeter系列(1):安装
    Jmeter系列(2):简介
    Jmeter系列(3):使用
    Jmeter系列(4):插件
    Jmeter系列(5):参数化
  • 原文地址:https://www.cnblogs.com/sytu/p/4084084.html
Copyright © 2011-2022 走看看