HTML block element
Most HTML element is defined as block-level elements or inline elements .
Block-level elements in the browser displays, often with a new line to start (and end).
实例: <h1>, <p>, <ul>, <table>
HTML inline elements
Inline elements do not usually start with a new line when displayed.
实例: <b>, <td>, <a>, <img>
HTML by <div> and <span> the combined element.
HTML <div> element
HTML <div> element is a block element, it can be used in combination with other containers HTML elements.
<Div> element has no specific meaning. In addition, since it belongs to the block-level element, the browser displays the longitudinal fold line thereof.
If used with CSS, <div> element may be used to set style properties for large blocks of content.
Another common use <div> element is the document layout. It replaced the old method of using tables to define the layout. Use <table> elements in the correct use of the document layout is not a table. Effect <table> elements is a tabular data.
HTML <span> element
HTML <span> element is an inline element as a container for the text
<Span> elements are also no specific meaning.
When used with CSS, <span> element can be used as part of the text style attributes set.