Block-level elements include "", "", " - ", "", "", "", "", "", etc.; inline elements include "", "", "", "", "", "", etc. Detailed introduction: , defines a partition or a block in the document, used to organize the content on the page; and so on. # Operating system for this tutorial: Windows 10 system, Dell G3 computer. Block-level elements and inline elements are the two basic element types in HTML. They have different features and uses in page layout and styling. Below I will introduce the definitions of block-level elements and inline elements in detail and common examples. Block-level elements: Block-level elements usually occupy a line by themselves, and by default fill the parent container horizontally. They can contain other block-level elements and inline elements. Common block-level elements are: : defines a partition or block in the document, used to organize the content on the page. : Define paragraph. - : Define titles, from the most important title (h1) to the least important title (h6). : Define an unordered list. : Define an ordered list. : Define list items. : Define the table. : Define the form. Inline elements: Inline elements usually do not occupy an exclusive line. They automatically adjust their width according to the size of the content and only occupy the space required by their own content. Inline elements cannot contain block-level elements, only other inline elements or text. Common inline elements are: : Define an inline container for wrapping text or other inline elements. : Define a hyperlink. : Define bold text. : Define emphasized text. : Define the image. : Define input fields. : Define button. It should be noted that not all elements are strictly classified according to the above definitions. Some elements can change their default behavior by setting CSS properties. For example, by setting the display attribute of a block-level element to "inline", it can be converted into an inline element; by setting the display attribute of an inline element to "block", it can be converted into a block-level element. To summarize, block-level elements and inline elements have different characteristics in page layout and style settings. Block-level elements will occupy a line by themselves and can contain other block-level elements and inline elements; inline elements will not occupy a line by themselves, only occupy the space required for their own content, and can only contain other inline elements or text. Understanding the characteristics and uses of block-level elements and inline elements can help programmers better lay out and style pages.