Home >Web Front-end >HTML Tutorial >HTML basic summary version_html/css_WEB-ITnose

HTML basic summary version_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:56:48796browse

1. HTML version

  • HTML 1991
  • HTML 1993
  • HTML2.0 1995
  • HTML3.2 1997
  • HTML4.0.1 1999
  • XHTML1.0 2000
  • HTML5 2012
  • XHTML5 2013
  • 2. html tag

    Start tag Element content End tag

    content

    If there is no element content, it is an empty element and needs to be done in the start tag Close, such as

    br:break row

    Single tags include:
    ,


    , ,

    3. Common HTML tags

    structural tags: html, head, body

    Header tags: title, meta, link, style, base

    Text modification tags: font, b, i, u, strong

    Paragraph tags: p, hn, pre, marquee, br ,hr,address,center,blockquote

    List tags: ul,ol,li,dl,dt,dd

    Hyperlink tags: a,map,area

    Image And media element tags: img, embed, object

    Table tags: table, tr, td, th, tbody

    Form tags: form, input, textarea, select, option, fieldset, legend , label

    Frame tag: frameset, frame, iframe

    Container tag: div, span

    4. Introduction of html style

  • Inline style
  • Introduce styles
  • Import styles
  • 5. HTML list

  • Unordered list ul, li
  • Attribute: disc (Solid circle) is the default style
  • Ordered list ol,li
  • Attributes: Note that start does not need to be displayed from 1, start="10" will be displayed from 10
  • Custom list dl
  • dt
  • dd
  • Nested list
  • Note the default style: in an unordered list, the default first level It is a disc, the second layer is an open circle, the third layer is a solid square, and it will be a solid square from now on
  • 6. Form

    Three elements of the form: form, input, submit

  • : Click the "Submit" button to submit form-related information
  • : Collect user information, there are 10 types of values ​​
    1. text: Text field
    2. password: password field
    3. file: file field
    4. checkbox: checkbox
    5. radio: radio button
    6. button: Ordinary button
    7. submit: submit button
    8. reset: reset button
    9. hidden: hidden field
    10. image: image field (i.e. image button)