html tags summary

1. Text Tags:

  1. h1 ~ h6 - heading - heading
  2. hr - horizontal ruler - horizontal ruler
  3. p - paragraph - paragraph
  4. sub / sup - subscript / superscript
  5. em / strong / del / ins - stressed
  6. br - 折行 - break ruler

2. List Labels:

  1. An ordered list ol - ordered list
  2. Unordered list ul - unordered List
    List Item - li
  3. Definition list DL - Definition List
    dt - Definition title
    dd - Definition Description

3. Character entity / entities replacement symbol

  - 空格
< / > - 尖括号
© / ® / ™ - 版权所有/注册/商标
¥ / € - 货币符号

4. Hyperlink Tags:

a - href / target

  1. Page links
  2. Anchor link
  3. Featured links

The image tag:

img - src
figure / figcaption

6. Form Tags:

table / tr / th / td / thead / tfoot / tbody
rowspan / colspan

7. Form Tags:

form - action / method / enctype
input - type - text / password / email / tel / date / file / radio / checkbox / range / number / submit / reset / image / hidden
select - option
textarea

  • get - access to resources from the server (web pages, images, audio and video)
  • post - submit data to the server
  • delete - Delete a resource from the server
  • put / patch - update server resources

8. Hidden Fields / implicit form fields / Buried

9. Audio and video Tags:

audio / video - source - autoplay / controls / loop

9. Other commonly used tags

div / span

Guess you like

Origin www.cnblogs.com/ham-731/p/12121833.html