html學習第一講(內容html常規控制項的的使用)

來源:互聯網
上載者:User

標籤:style   blog   class   code   java   tar   

 1  <html> 2       <head> 3          <title> 這是網頁的標題</title> 4       </head> 5              6        <body> 7            <h2><font color ="blue"> 這是網頁的內容!</font></h2> 8  9            <a href="http://www.cnblogs.com/gongxijun">這是一個串連</a>10            11            <table  border="1"    align="center" width="80%">12            13                <tr>14                    <th>aa</th>15                    <th>bb</th>16                    <th>cc</th>17                </t\r>18 19                <tr>20                    <td  align="center" ><b>dd</b></td>21                    <td  align="center" ><b>ee</b></td>22                    <td  align="center"><b>ff</b></td>23                </tr> 24         25 26        <form>27                    username: <input  type ="text"><br>28                    password: <input type="password"> <br>29                    興趣: 學習<input type="checkbox" >30                           旅遊<input type="checkbox">31                       睡覺<input type="checkbox"><br>32                       性別: 男<input type="radio" name="gender">33                              女<input type="radio" name="gender"><br>34                                       學曆:  <select>35                             <option>小學</option>36                                                 <opti    on>初中</option>37                         <option>高中</option>38                         <option>大學</option>39                          </select><br>40              評論:  <textarea>41 42                    </textarea><br>43                圖片: <img src="https://www.google.com.hk/images/srpr/logo11w.png"><br>44                                45                 檔案上傳: <input type ="file"><br>46                 <input type="submit"  value="submit">&nbsp; &nbsp;&nbsp; 47                     <input type="reset"   value="reset">&nbsp; &nbsp; &nbsp;48                 <input type="button"  value="button" onclick="javascript:alert(‘hello world‘)"><br>49                   </form>50         </table>51 52       </body>53 </html>
View Code展示:

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.