Movatterモバイル変換


[0]ホーム

URL:


  1. Glossary
  2. Block

Block

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

Block (CSS)
Ablock on a webpage is an HTML element that appears on a new line, i.e., underneath the preceding element in a horizontal writing mode, and above the following element (commonly known as ablock-level element). For example,p is by default a block-level element, whereasa is aninline element — you can put several links next to one another in your HTML source and they will sit on the same line as one another in the rendered output.
Block (scripting)
In JavaScript, ablock is a collection of related statements enclosed in braces ("{}"). For example, you can put a block of statements after anStatements/if...else block, indicating that the interpreter should run the code inside the block if the condition is true, or skip the whole block if the condition is false.

[8]ページ先頭

©2009-2025 Movatter.jp