Div section article differentiation -- 20150227, section -- 20150227
Div section article, the semantics is gradually enhanced from nothing. Div does not have any semantics and is only used as a styling or scripted hook. For a topic content, section is applicable. If this content can be separated from the context, as a complete piece of independent content, article is applicable. In principle, you can also use section when you can use article. But in fact, if you use article more appropriately, do not use section. The same is true for the use of nav and aside. These two labels are also special sections. If nav and aside are more suitable, do not use them.
It is easier to differentiate between div, section, article, and other labels. It is difficult to differentiate section and article. In fact, the focus is to see if the content is separated from the whole content and can still exist as a complete and independent content, the focus here is on completeness. In fact, the content contained in a section can also be regarded as an independent part, but it can only be regarded as a part of the whole, and article is a complete whole.