国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > HTML > 正文

了解html的基礎標簽

2020-03-24 16:58:02
字體:
來源:轉載
供稿:網友
一、HyperText Markup Language 內容,html是弱代碼語言,代碼編寫不嚴謹

 

1、超鏈接

 a href= # 超級鏈接(anchor) /a 

寫超鏈接的href地址的時,要注意是否有寫相應的解析協議,沒有設置協議時,按照默認的本地文件的文本協議

https,http,郵件,自定義(迅雷)等;

2、其他標簽

 address 地址(address) /address  b 粗體(bold) /b  big 放大(big) /big  blockquote 引用塊(blockquote) /blockquote  br/ 換行(break) center 居中(center) /center  cite 引用(cite) /cite  code 代碼(code) /code  del 刪除(delete) /del  dfn 定義(definition) /dfn  p 區塊(pision) /p  em 強調(emphasize) /em  hr/ 橫線(horizontal) i 斜體(italic) /i  u 下劃線(italic) /u  p p 段落(paragraph) /p  pre 按預定格式顯示的文本(Preformatted) /pre  q 引用(quote) /q  samp 例子(sample) /samp  small 縮?。╯mall) /small  span 文本段(span) /span  strong 重點強調(strong emphasized) /strong · sub 下標(subscript) /sub  sup 上標(superscript) /sup  textarea 多行文本輸入區(textarea) /textarea  tt 電傳打字機(teletype)(等寬字體) /tt  var 可變文本(variable) /var 

3、標題標簽

 h1 標題1 /h1  h2 標題2 /h2  h3 標題3 /h3  h4 標題4 /h4  h5 標題5 /h5  h6 標題6 /h6 

4、列表標簽 ——

[1]、dl 字典列表(dictionary list)

 dl  dt dt 字典標題(dictionary title) /dt  dd dd 字典數據(dictionary data) /dd  dt dt 字典標題(dictionary title) /dt  dd dd 字典數據(dictionary data) /dd  /dl 

[2]、ol 有序列表(order list)

 ol  li li 列表項(list item) /li  li li 列表項(list item) /li  /ol 

[3]、ul 無序列表(unordered list)

 ul  li 列表項(list item) /li  li 列表項(list item) /li  /ul 

5、表單標簽

 form action= # method= post 表單(form) /form 
 img src= # alt= 圖片 / 圖片(image) input type= text name= name value= / input,type= text 文本輸入框(text) input type= radio name= name value= / input,type= radio 單選框(radio) input type= checkbox name= name value= / input,type= checkbox 復選框(checkbox) input type= file name= name value= / input,type= file 文件選擇框(file) input type= hidden name= name value= / input,type= hidden 隱藏域(hidden) input type= image name= name value= / input,type= image 圖片按鈕(image) input type= password name= name value= / input,type= password 密碼輸入框(password) input type= reset name= name value= reset / input,type= reset 重置按鈕(reset) input type= submit name= name value= submit / input,type= submit 提交按鈕(submit) input type= button name= name value= button / input,type= button 按鈕

6、下拉列表框

select 選擇列表(select) select  option value= value option 選擇項(option) /option  /select 

7、table 表格(table)

 table border= 0 cellpadding= 0 cellspacing= 0  td td 表格數據(table data) /td  td td 表格數據(table data) /td  /tr  td td 表格數據(table data) /td  td td 表格數據(table data) /td  /tr  /table 

以上就是了解html的基礎標簽的詳細內容,html教程

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 安塞县| 怀集县| 调兵山市| 通江县| 阳西县| 玉山县| 和静县| 图们市| 洞口县| 六枝特区| 汉沽区| 赞皇县| 元氏县| 革吉县| 德江县| 宁阳县| 平和县| 柘荣县| 石台县| 凉城县| 兴和县| 昌都县| 建始县| 大宁县| 海林市| 河池市| 马山县| 高邑县| 班玛县| 江山市| 浦城县| 镇远县| 财经| 格尔木市| 海口市| 和林格尔县| 仪陇县| 南靖县| 峡江县| 合山市| 潮州市|