The front end of the first week of learning

Structure, style, phase separation behavior

  Structure (HTML), style (CSS), behavior (JS) written by three different files, so that the benefits can be used repeatedly.

Semantic HTML

  I.e., the most appropriate semantic tag of the tagged content

HTML semantic reasons

  • Even in the absence of CSS styles, but also a good showing content structure, code structure;
  • Semantic HTML HTML structure will become clear, it is conducive to safeguarding the code and add style;
  • Other convenient analytical device (such as screen readers, the blind readers, mobile devices) in a meaningful way to render web pages;
  • Enhance the search engine optimization (SEO) results. And search engines to establish good communication helps crawlers to crawl more effective information: reptiles depend on the label to determine the right context and each keyword weight;
  • To facilitate the development and maintenance team, semantic more readable, it is an important trend of the next page, follow the W3C standard team follow this standard, can reduce the difference.
  • Usually less semantic HTML code that will change, make the page load faster. 

CSS and Features

  css modification for beautification page

Guess you like

Origin www.cnblogs.com/xf2019/p/12005998.html