HTML and CSS: block elements and inline elements------summarize!

Source: Internet
Author: User

Block element

Inline elements

address-Address
BLOCKQUOTE-block Reference
Center-aligning
Dir-directory list
Div-Common block-level easy, also the main label for CSS layout
DL-definition list
Fields Et-form control group
form-interactive form
H1-Big title
H2-subtitle
h3-3 level title
H4-4 level title
H5-5 level title
H6-6 level title
hr-Horizontal Divider
I Sindex-input Prompt
Menu-list
Noframes-frames optional content (this chunk content is displayed for browsers that do not support frame
NoScript- Optional script content (this content is displayed for browsers that do not support script)
ol-ordered form
P-paragraph
Pre-formatted Text
Table-table
ul-unordered list

A-anchor point
ABBR-Abbreviation
Acronym-the first word
B-Bold (not recommended)
Bdo-bidi Override
Big-Large font
BR-line break
Cite-citation
Code-Computer codes (required when referencing source)
DFN-Defining fields
EM-emphasize
Font-typeface settings (not recommended)
I-Italic
IMG-Images
Input-Enter box
KBD-Define keyboard text
Label-Table Label
Q-Short Reference
S-Medium dash (not recommended)
Samp-Define sample computer code
Select-Project Selection
Small-Small font text
Span-a common inline container that defines chunks within a text
Strike-Medium Dash
Strong-Bold Emphasis
Sub-subscript
SUP-Superscript
TEXTAREA-Multi-line text input box
TT-Telex text
U-Underline
var-Defining variables


This article is from "Spring!" "blog, declined reprint!"

HTML and CSS: block elements and inline elements------summarize!

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.