【前段开发】行内元素和块级元素总结(HTML CSS)
2020-11-14 22:44
标签:前端开发 html css 行内元素 块级元素 块级元素
行内元素
行内元素、非置换元素不会应用width属性,比如对行内元素应用了width:200px,你不会看到任何效果出现。 行内元素、非置换元素不会应用height属性,但是高度可以通过line-height来指定。 行内元素你可以给它设置padding,但只有padding-left和padding-right会有效果,没有padding-top和padding-bottom。 margin属性也是和padding属性一样,对行内元素左右有效,上下无效。 【前段开发】行内元素和块级元素总结(HTML CSS),布布扣,bubuko.com 【前段开发】行内元素和块级元素总结(HTML CSS) 标签:前端开发 html css 行内元素 块级元素 原文地址:http://blog.csdn.net/a503921892/article/details/24576559
information on author
long quotation
push button
table caption
definition description
deleted text
generic language/style container
definition list
definition term
form control group
interactive form
heading
heading
heading
heading
heading
heading
horizontal rule
inline subwindow
inserted text
fieldset legend
list item
client-side image map
alternate content container for non frame-based rendering
alternate content container for non script-based rendering
generic embedded object
ordered list
paragraph
preformatted text
table
table body
table data cell
table footer
table header cell
table header
table row
unordered list
anchor
abbreviated form
acronym
bold text style
I18N BiDi over-ride
large text style
forced line break
push button
citation
computer code fragment
deleted text
instance definition
emphasis
italic text style
inline subwindow
Embedded image
form control
inserted text
text to be entered by the user
form field label text
client-side image map
generic embedded object
short inline quotation
sample program output, scripts, etc.
option selector
small text style
generic language/style container
strong emphasis
subscript
superscript
multi-line text field
teletype or monospaced text style
instance of a variable or program argument
上一篇:js:深入函数的定义
下一篇:html相对路径
文章标题:【前段开发】行内元素和块级元素总结(HTML CSS)
文章链接:http://soscw.com/index.php/essay/21306.html