Block elements are XML elements that can be directly inserted inside a Page element. They are used to structure the document, but are not mixed with text : it is not possible to insert text directly under Page, because text must necessarily be inside a block element.
XPAGES has the following block elements :
: used to identify an area inside a page, with a title, a semantic role, and an importance. The role is optional, but is important to give meaning to the different parts of the document. It can also be used later to display sections with the same role in a similar way, to visually distinguish them from other sections.
: a paragraph is one or several sentences. To do a "line break" (this idea is quoted because it is related to presentation instead of content), it is necessary to create a new paragraph.
: a list of List item elements. Items can contain text, but also paragraphs or sublists.
: a table is formed with a given number of lines and columns. It is possible to specify a line of titles (the first line of the table). Also, cells can be merged, and an alignment can be specified inside the cells.
: an element grouping the informations related to an image (copyright and legend), and a link to the image file. It is also possible to create a link on the image, so that a click on it redirects to another part of the site or an external page.
: a Java applet, for instance for interactive simulations.
: a Flash object, that can also be used to add interactivity to the website.
: a comment of the author, that will not be displayed on the website. Very useful for instance to mark parts to develop or correct at the time of writing.
: a block of computer code whose formatting must be preserved.
: an exercise (see later).
: a quiz (see later).
: a list of bibliographic and webographic references.