Html 之 常用標簽
阿新 • • 發佈:2019-03-21
short cut 技術 test ont dfa inpu fad 足球 HTML代碼
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>HTML標簽學習</title> <link rel="shortcut icon" href="kang.ico"> </head> <body> <p style="color:red;">我是一個塊標簽:p</p> <h3 style="color:red;">我是標題:h3</h3> <span style="color:red;">我是span標簽,即行內標簽</span> <br><br> <div style="color:red;">我是白板div標簽,但也很有用</div> <form> <p style="color:red;">我是一個輸入文本框</p> <input type="test" > <p style="color:red;">我是一個密碼文本框</p> <input type="password"> <p style="color:red;">性別:單選實例</p> 男:<input type="radio" name="n1" value="man"> 女:<input type="radio" name="n1" value="woman"> <p style="color:red;">愛好:多選實例</p> 籃球:<input type="checkbox" name="n2" value="1"> 足球:<input type="checkbox" name="n2" value="2"> 皮球:<input type="checkbox" name="n2" value="3"> <p style="color:red;">多行文本:多行實例</p> <textarea>aadfadf</textarea> <p style="color:red;">我是一個下拉框</p> <select name="city"> <option value="1">北京</option> <option value="2">廣州</option> <option value="3">深圳</option> </select> <p style="color:red;">我是一個超鏈超</p> <a href="http://www.baidu.com">百度在這裏</a> </form> <p style="color:red;">我是一個列表</p> <ul> <li>aaaa</li> <li>bbbb</li> <li>cccc</li> </ul> <p style="color:red;">我是一個數字列表</p> <ol> <li>aaaa</li> <li>bbbb</li> </ol> <p style="color:red;">我是一個沒有點,沒有數字列表</p> <dl> <dd>aaa</dd> <dd>bbb</dd> </dl> <p style="color:red;">我是一個表格</p> <table border="1"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$10000</td> </tr> </table> </body> </html>
Html 之 常用標簽