html常用標記

來源:互聯網
上載者:User

標籤:

1.HTML 文檔結構

   1.1 <html>,<head>,<title>,<body>標記,注意:html不區分大寫小的

   1.2 </br>                       換行標記

         <p></p>                 段落標記

         <h1></h1>             標題標記

         <center></center>  置中標記

   1.3 無序列表

<ul>     <li>unlist1 </li> <li>unlist2 </li></ul>
  • unlist1
  • unlist2

   1.4 有序列表

<ol>   <li>olist1</li>   <li>olist2</li></ol>
  1. olist1
  2. olist2

   1.5 表格標記

<table width="318" height="167" border="1" align="center">
    <caption>caption</caption>
    <th>
          <td>00</td>
          <td>00</td>
    </th>
    <tr>
        <td align="center" valign="middle">11</td>
        <td align="center" valign="middle">12</td>
    </tr>
    <tr>
         <td align="center" valign="middle">21<td>
         <td align="center" valign="middle">22<td>
    </tr>
<talbe>

0000 

caption
11 12
21 22

    1.6表單

<form action="" method="post" enctype="multipart/form-data" name="form1">   文本域:<input type="text" name="user" id="user" size="39" maxlength="39"></br>   密碼域:<input type="password" name="password" id="password" size="40" maxlength="40"></br>   選項按鈕:<input type="radio" name="sex" value="man" checked>男             <input type="radio" name="sex" value="woman" > 女          </br>   複選框:<input type="checkbox" name="checkbox" value="1" checked>1           <input type="checkbox" name="checkbox" value="2">2           </br>   檔案域:<input type="file" name="file"></br>   提交按鈕:<input type="submit" name="submit" value="提交">           </br>   重設按鈕:<input type="reset" name="reset" value="重設">           </br>   普通按鈕:<input type="button" name="button" value="按鈕">           </br>   圖形域:<input type="image" name="imagefield" src="" width="111" height="111"></form>

 

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.