- ode is a lot more readable when it is organized using IDs, classes, and divs.
- IDs label HTML elements that are unique to the web page (an element that appears only once).
- Classes label elements that will share the same styling. They make styling more efficient.
- The
<div> groups elements together. It makes the HTML file easier to read by organizing the web page into logical sections.
- HTML elements can be labeled with multiple classes.
- 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
阅读(
122)
评论()
收藏
举报