Web standards

  • Web standards are mainly divided into three parts: structure, performance and behavior
  • Structure: refers to the tags we normally write in the body, which are mainly composed of HTML tags
  • Presentation: Refers to a richer HTML tag style, consisting mainly of CSS styles
  • Behavior: refers to the interaction between the page and the user, mainly composed of JS parts

W3C

  • W3C has put forward standardization requirements for Web standards, that is, code specifications

    • Requirements for structure
    • Tag letters should be lowercase
    • The label has to be closed
    • Tags are not allowed to be arbitrarily nested
  • Requirements for performance and behavior

    • It is suggested to use external chain CSS and JS script to achieve separation of structure and performance, separation of structure and behavior, which can improve the rendering efficiency of the page and display the content of the web page faster

additional

  • This article is published through multiple platforms of “We Media” and will not be maintained after publication. If you have any objection to the content, you can discuss it in the GitHub below
  • The ongoing maintenance / 500 + face questions before update/notes 】 https://github.com/noxussj/In…
  • [3D city modeling using three. JS (Zhuhai City)] https://3d.noxussj.top/