To ease understanding of HTML, elements are grouped in certain categories. These elements can only exist within the HEAD element. P is an example of a block element.
Block elements define a block of text or information.
A , the anchor element, is an example of an inline element. Inline elements usually make sense even when they contain only part of a sentence or phrase. Inline elements are always contained within block elements. We have already seen that paragraphs cannot contain other paragraphs. Other elements may contain elements of the same type, however.