Html block-level and row-level elements, html row-level elements

Source: Internet
Author: User

Html block-level and row-level elements, html row-level elements

Reprinted: http://blog.csdn.net/yuyanqiao/article/details/8558118

Inline element)
* A-anchor
* Abbr-abbreviation
* Acronym-First word
* B-bold (not recommended)
* Bdo-bidi override
* Big-large font
* Br-line feed
* Cite-Reference
* Code-computer code (required when source code is referenced)
* Dfn-define a field
* Em-emphasis
* Font-font setting (not recommended)
* I-italic
* Img-Image
* Input-input box
* Kbd-defines the keyboard text
* Label-Table label
* Q-short reference
* S-hyphen (not recommended)
* Samp-Defines sample computer code
* Select-select a project
* Small-small font text
* Span-commonly used inline containers that define text blocks
* Strike-dashes
* Strong-highlighted in bold
* Sub-subscript
* Sup-superscript
* Textarea-multi-line text input box
* Tt-telex text
* U-underline
* Var-define variables

 

 

Block element)
* Address-address
* Blockquote-block reference
* Center-align Blocks
* Dir-directory list
* Div-common block-level labels are easy, and they are also the main labels of css layout.
* Dl-definition list
* Fieldset-form Control Group
* Form-interactive form
* H1-large title
* H2-subtitle
* H3-Level 3 title
* H4-4 level title
* H5-Level 5 Title
* H6-6 titles
* Hr-horizontal Separator
* Isindex-input prompt
* Menu-menu list
* Optional content of noframes-frames. (content in this block is displayed in browsers that do not support frame.
* Noscript-) Optional script content (this content is displayed in browsers that do not support scripts)
* Ol-sorting form
* P-paragraph
* Pre-format text
* Table-table
* Ul-non-sorted list

CommonIntra-rowElements to remember:A, span, img, input, lable, select, strong, textarea

CommonBlock levelElements to remember:Div, h1 ~ H6, dl, ul, ol

For example, in a title, there are titles, visits, and more. The title is controlled by h4, and more is a <a> link. If you want them to be in a row, set h4Display: inline;

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.