Home > Web Front-end > HTML Tutorial > A simple explanation of commonly used CSS elements div ul dl dt ol_html/css_WEB-ITnose

A simple explanation of commonly used CSS elements div ul dl dt ol_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:29:58
Original
1432 people have browsed it

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.

  1. ……
  2. ……
  3. 🎜>

    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:

    Title

    Content1

    Content2

    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.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template