Home  >  Article  >  Web Front-end  >  Summary of inline elements and block-level elements in html

Summary of inline elements and block-level elements in html

巴扎黑
巴扎黑Original
2017-06-27 09:19:062532browse

1. First, let’s summarize what are inline elements and block-level elements:

Inline elements:

The tag can define an anchor.
represents an Abbreviation form
Definition only takes the abbreviation
Font bold
Can override the default text direction
Large font bold

Line break
Quote to define
Define computer code text
Define a definition item
Define for emphasis Content
italic text effect
Embed an image into a web page
Input box
Define keyboard text
< label>Label defines a label (tag) for the
element
Defines a short reference
Defines sample text