html element and list
2021-02-10 08:17
标签:concepts school cup tps pts poi play numbers nested
-
Block element
Block elements, or block-level elements, have a rectangular structure. By default, these elements will span the entire width of its parent element, and will thus not allow any other element to occupy the same horizontal space as it is placed on.
-
Inline element
Inline elements cannot be placed directly inside the
element; they must be wholly nested within block-level elements.
cite from WIKIPEDIA
from the above concepts, the difference between block element and inline element is whether it auto break line. it could change with attribute [display].
list: tag defines a list item. it used in **ordered lists**, **unordered lists** and in **menu lists**
- ordered list:
- unordered list:
- menu list:
html element and list
标签:concepts school cup tps pts poi play numbers nested
原文地址:https://www.cnblogs.com/fbss/p/13051557.html
上一篇:jQuery-按回车发送事件
下一篇:html tags
文章标题:html element and list
文章链接:http://soscw.com/index.php/essay/53484.html