Mаgentо defines visual structure and behavior of each page block via the tag <block>. As we know, in Mаgentо there are 2 types of blocks: structural and content. Both of them can be defined by the element <block>.
So, what is the <block> element?
<Block> – This element is used to define a new block. The element is usually defined within the
reference element, when we want to create a new block. The
block element must have two attributes:
type. The first one is a unique identifier of the block in the layout while the second one defines the block class name. If the block is of type or subtype of
core/template, it can also have the
template attribute which defines the actual phtml template file to be used for rendering the block. (more…)