This article needs a technical review. How you can help.

block on a webpage is an HTML element that appears underneath the preceding element and above the following element. For example, <p> is by default a block-level element, whereas <a> is not (i.e., by default you can put a link in the middle of a paragraph; the link doesn't have to start its own line). Using display you can change whether an element displays inline or as a block (among many other options).

Blocks are subject to the effects of positioning schemes and use of the position property.

Learn more

General knowledge

Document Tags and Contributors

 Contributors to this page: Jeremie, openmando, JasonSnow-Mad, klez, Andrew_Pfeiffer
 Last updated by: Jeremie,