[Css] mainly block elements, inline elements, and elementinline

Source: Internet
Author: User

[Css] mainly block elements, inline elements, and elementinline
Inline element: It takes effect only within the row. Setting the width and height does not affect the text content or wrap the text. The vertical direction and spacing do not work either. display can forcibly convert the element and block element in the row, and cancel displaying the none block element) address-address blockquote-block reference center-align block dir-directory list div-common block-level elements, also the main label of CSS layout is dl-definition list fieldset-form control group form-interaction form h1-Big title h2-subtitle h3-3 level title h4-4 level title h5-5 level title h6-6 level title hr-horizontal separator isindex-input promptmenu-Menu list noframes-frames (optional, (noscript-optional script content is displayed for browsers that do not support frame (this content is displayed for browsers that do not support script) ol-sort form (order list) p-section pre-formatted text table-table ul-unorder list reference: the width and height inline elements cannot be set before the display: block is written) line Element a-anchor abbr-Abbreviation acronym-header B-bold (not recommended) bdo-bidi overridebig-large font br-wrap cite-reference code-computer code (required when source code is referenced) dfn-define field em-emphasize font-font setting (not recommended) i-italic img-Image input-input box kbd-define keyboard text label-Table label q-short reference s-strip (not recommended) samp-definition example computer code select-project selection small-small font text span-commonly used inline container, define the strike-dashes strong-bold in the text to emphasize sub-subscript sup-superscript textarea-multi-line text input box tt-telex text u-underline var-define the variable empty element:
Br-line feed, hr-horizontal split line

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.