The term block can have several meanings depending on the context. It may refer to:

Block (CSS)
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).
Block (scripting)
In JavaScript, a block is a collection of related statements enclosed in braces ("{}"). For example, after if (condition) you can put a block of statements, indicating that the interpreter must skip the whole block if the condition is false.

Document Tags and Contributors

 Contributors to this page: Sheppy, Andrew_Pfeiffer
 Last updated by: Sheppy,