Blocks (block) element
Displayed as a piece, with a newline before and after. Block elements are commonly used in the main building blocks of Web pages. such as:<div>,<p>,
inline (inline) element (inline Element)
Displays the contents of the parent element in a row within the row. Inline elements are often used to mark small pieces of content. such as:<q>,<em>
Empty (void) element
No content, with a start tag. such as:<br>,
Entity character (character entity)
Used to define some special characters. such as: < Representative <, > representative >, & Representative & number.
You can find characters by using the following URLs: http://www.unicode.org/charts/, but to display characters on Unicode, you need to install the appropriate font.
Tips
When designing a page, you typically use block elements to lay out the page, and then use inline elements to refine the pages.
We want to select the element that is closest to the content meaning to construct the page.
For many elements, in different browsers, rendering may not be the same way, when the use of CSS style to specify the performance of the elements.
<a>, can be an inline element, or a block element, and if <a> contains a block element, it is displayed as a block element.
Scan code attention, learn to program:
Love Travel--Hainan Wenchang Moon Bay
"Easy Front trip" HTML block elements, inline elements, and empty elements