After learning from the previous six sections, we have a rough idea of the basics of HTML tutorials, so let's move on backwards, so let's talk about chunks in HTML.
Block ***************
Most of the elements in 1.HTML are defined as block-level elements or inline elements, and block-level elements start with a new line when displayed, such as the H1 tag, p tag, OL label, and table tag we talked about earlier.
2. Inline elements are not displayed in a separate line, they are displayed later, such as the TD tag we talked about earlier, the IMG tag, the strong tag, and so on.
div****span*********
The 1.div element is a block-level element, and this tag has no specific meaning, it means a block, because it is a block-level element, so whenever we encounter a div, it will be wrapped.
2.div usually need to cooperate with the CSS, in order to show its powerful power, we are in the back of the CSS will often use the div, here is not to say.
The 3.span element is a typical inline element, and it does not have a specific meaning, it is to define an inline element, and then we can work with CSS to modify its internal style.
Layout ***************
1. Layout, translated into English is usually layout, a site layout is very important, a reasonable layout like we said "this person is very good", and a bad layout, will be a very uncomfortable feeling.
2. More on the layout, I put it in the back of the CSS tutorial to go inside, here is the first slightly past.