(四十)HTML標籤--1

1、基本標籤post

b  標籤: 加粗
i : 斜體
u: 下劃線
s: 刪除線
p: 段落
h1~h6: 標題標籤
br: 換行
hr:橫線
div: 塊級標籤
span: 行內標籤
img:圖片
a:超連接
ul:無序列表url

type:square(實心矩形),circle(空心圓),默認是實心圓點spa


ol:有序列表orm

Type:1,A,a,I,i
li:列表內容
table:表格
    thead:表格頭部圖片

<tr>ci

<th>name</th>get

<th>age</th>input

<th>no</th>it

</tr>
    tbody:表格身體io

<tr>

<td>tom</td>

<td>23</td>

<td>012</td>

</tr>
    tfoot:表格底部

<tr>

<td>foot1</td>

<td>foot2</td>

<td>foot3</td>

</tr>
        


form:

method:get,post

enctyoe:有幾種數據格式

input:

text,password,radio,checkbox,hidden,date,file,reset,submitform表單提交數據1.form表單中的action設置一個要提交的url2.input輸入框必須設置name,name是提交數據時當前輸入框對應的key3.必需要有提交按鈕(type=submit)

相關文章
相關標籤/搜索