Block-level elements
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 | |||||||||||||||||
Inline elements
Inline elements and non-replaced elements will not be applied width attribute, for example, if width:200px is applied to the inline element , you will not see any effect. The height attribute will not be applied to inline elements and non-replacement elements, but the height can be specified through line-height. You can set padding for inline elements, but only padding-left and padding-right will have an effect, not padding-top and padding-bottom. The margin attribute is also the same as the padding attribute. It is valid for the left and right of inline elements, but not for the top and bottom.
Previous article:[Skills] Use pure CSS html to write direction arrows, simple and elegant, good-looking_html/css_WEB-ITnose
Next article:Codeforces Round #243 (Div. 2)??Sereja and Table_html/css_WEB-ITnose
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
Latest Articles by Author
Latest Issues
PX automatic conversion to REM error
<style>html { font-size: calc(100vw / 3.75); }...
From 2024-04-16 09:34:16
0
0
4687
Related Topics
More>
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
|