Home > Article > Web Front-end > A simple explanation of commonly used CSS elements div ul dl dt ol_html/css_WEB-ITnose
A simple explanation of several css elements: div ul dl dt oldiv, this is very common, block-level elements, div should be used as little as possible. Like table, the less nested the better
ol ordered list.
🎜>
3...
ul Unordered list, shown as li is preceded by a big dot instead of 123
Many people tend to ignore the usage of dl dt dd
dl content block
dt content block title
dd content
can be written like this:
You can add ol ul li and p to dt and dd
After understanding these, it will be much more convenient when using div layout, w3c provides a lot Element auxiliary layout.