html-id,class

  1. ode is a lot more readable when it is organized using IDs, classes, and divs.
  2. IDs label HTML elements that are unique to the web page (an element that appears only once).
  3. Classes label elements that will share the same styling. They make styling more efficient.
  4. The <div> groups elements together. It makes the HTML file easier to read by organizing the web page into logical sections.
  5. HTML elements can be labeled with multiple classes.
  6. Divs are one of the most commonly used HTML elements. Understanding how they are used is a critical skill for web developers.
posted @ 2017-03-26 11:13  ALMOST_MUJIN  阅读(108)  评论(0编辑  收藏  举报