What is the HTML block?
Hypertext Markup Language (HTML), in a wide sense, is a HTML segment of the defined area of the finished document when it is shown by a program such as a web browser. The importance of the HTML block can be seen in assigning different attributes to the elements, because many styles and other definitions can only be assigned to the block level elements. The opposite of the HTML block is the inline code that must always be nested in the block that will work.
One examples of the definition of HTML block is the paragraph of the text on the web. When the page is displayed inside the web browser, the paragraph appears with an empty line between it and the previous paragraph and the blank line on the paragraph and other display element. Within the HTML code for the page, the paragraph is surrounded by HTML marks that define it as a paragraph block. These brands that surround the paragraph are connected between them as a block of HTML.
HTML Block can be nested to another block. In fact, almost all brands are truly nested inside the markto the body required by HTML. Conversely, the inline segment must be nested inside the block because it requires the elements that contain if it is to operate. An example of an inline brand is a piece of text that needs to be displayed in bold.
The difference between the element at the HTML block level and the inline element is one of the key pieces of understanding to work with HTML and cascade style (CSS). This is mainly because there are certain standard attributes of style and other parameters that are described as an application only for block level elements, or only at level elements. In general, inline elements do not contain the same variable attributes as the elements at the level of the block level.
Example of the difference between the HTML block and inline-level attribute is the possibility of alignment. At the block level, such as a division brand or the start of a bullet list, you can set the text or images in the block to capturely left, right or center of the area. If the alignment attribute is applied to the inline element, nothing will happen because it is not an available option at Inline.