html 學習樣本

來源:互聯網
上載者:User

標籤:

<head>    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    <meta http-equiv="refresh" content="3;url=www.baidu.com">  <!--3秒重新整理-->    <title>頁面</title>    <h1>This is heading 1</h1>    <hr />    <h2>This <br /> is heading 2</h2>    <hr />    <a href="http://www.baidu.com">百度</a> </head><body>    <form action="Dafault.axps" method="post">    <!--注釋-->    <p>22222222222222222</p>    <br>111111111111</br>    <h1>春曉</h1>    <p>        春眠不覺曉,<br />        處處聞啼鳥。<br>        夜來風雨聲,<br />        花落知多少。    </p>    <hr />    <!--無序列表unorder list -->    <!-- disc 實心圓   circle 空心圓  square 實心方塊 -->    <ul type="square">        <li>程式</li>        <li>文檔</li>    </ul>    <!--有序列表order list-->    <!--按“a”排序顯示,“1,a,A,i,I”-->    <ol type="a">        <li>程式</li>        <li>文檔</li>    </ol>    <!--表格-->    <table border="1px" bordercolor="red" cellspacing="0px"           cellpadding="0px">        <!--cellspacing 兩個儲存格之間的間距  cellpadding 內容與表格邊線之        間的距離(填充)-->        <!-- table row(行)-->        <tr>            <!--(colunm span) colspan="4" 跨4列 rowspan="2" 跨2行-->            <th  colspan="4">資訊表                  </th>        </tr>            <!-- table head(表頭)  -->            <!-- align ="center"(置中)-->            <th align="center">姓名</th>            <th>學號</th>            <th>性別</th>            <th>年齡</th>        </tr>        <tr align="center" valign="bottom">            <!--  align ="center" valign="bottom" 水平靠下置中            valign="midde" (縱向置中) top(上) bottom (下)-->            <!-- table data -->            <td>王二</td>            <td>001</td>            <td>男</td>            <td>31</td>        </tr>    </table><br /><br />    <table border="1" align="center" valign="middle">        <tr>            <td><label ="txtName">使用者名稱:</label></td>            <td>                <input  label ="txtName" type="text" value="">               <!-- <input id="Button1" type="button" value="button" />--></td>        </tr>        <tr>            <td><label ="txtPwd">密碼:</label></td>            <td>                <input id ="txtPwd" type="password" value="">               <!-- <input id="Submit1" type="submit" value="submit" />-->            </td>        </tr>         <tr>              <td>省份:</td>              <td>                  <select style="width:126px">                      <!--預設選擇重慶-->                      <option value="1" selected="selected">重慶</option>                      <option value="2">河南</option>                      <option value="3">四川</option>                      <option value="4">北京</option>                  </select>               </td>             </tr>        <tr>            <td>性別:</td>            <td>                                                         <!--"/"表示標籤結束-->>                <input id="rdoMale" type="radio" value="male" name="sex" /><label for="rdoMale">男</label>                <input id="rdoFemale" type="radio" value="female" name="sex" /><label for="rdoMale">女</label>            </td>            </tr>        <tr>            <td>職業</td>            <td>                 <input id="radXS" type="radio" value="xs"name="zhiye"/><label for="rdoXS">學生</label>                <input id="rdoLS" type="radio" value="xs" name="zhiye" /><label for="rdoLS">教師</label>            </td>        </tr>        <tr>            <td>愛好</td>            <td>                <input id="chkCF"type="checkbox"value="cf"/><label for="chkCF">吃飯</label>                <input id="chkSJ"type="checkbox"value="sj"/><label for="chkSJ">睡覺</label>                <input id="chkDD" type="checkbox" value="dd" /><label for="chkDD">打豆豆</label>            </td>        </tr>        <tr>            <td><label ="">驗證碼:</label></td>            <td>                <input id="txtCode" size="8" type="text" value="">                <img src=" ">            </td>        </tr>        <tr>            <td><labelfor =" ">是否儲存登入:</label></td>            <td>                <input id="chk" input="text" type="chackbox">            </td>        </tr>        <tr>            <td colspan="2" align="center">                <input type="submit" value="登陸">                <input type="reset" value="重設">            </td>        </tr>    </table>    <table></table>

 

html 學習樣本

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.