CSS Authoritative guide note (ii) elements

Source: Internet
Author: User
  • Replace element

The part that replaces the content of the element is not directly represented by the contents of the document.

    • Img
    • Input
  • Non-replacement elements

The content is displayed by the user agent (usually a browser) in the box generated by the element itself.

  • Block-level elements

Block-level elements generate an element box, (the default) fills the content area of the parent element and cannot have other elements next to it, in other words, he generates delimiters before and after the element. The replacement element can be a block-level element, but it is usually not.

  • In-line elements

The inline element generates an element box within a line of text without interrupting the line of text. You can appear in the contents of another element without breaking its display.

Block-level element inline element graphic

In HTML and XHTML, block-level elements cannot inherit in-line elements (they cannot be nested within inline elements)

 

CSS Authoritative guide note (ii) elements

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.