Go to the first, previous, next, last section, table of contents.

Data Elements

Line Break

<BR> Level 0

The Line Break element specifies that a new line must be started at the given point. A new line indents the same as that of line-wrapped text.

Example of use:

<P> Pease porridge hot<BR>
Pease porridge cold<BR>
Pease porridge in the pot<BR>
Nine days old.

Horizontal Rule

<HR> Level 0

A Horizontal Rule element is a divider between sections of text such as a full width horizontal rule or equivalent graphic.

Example of use:

<HR>
<ADDRESS>February 8, 1995, CERN</ADDRESS>
</BODY>

Image

<IMG> Level 0

The Image element is used to incorporate in-line graphics (typically icons or small graphics) into an HTML document. This element cannot be used for embedding other HTML text.

HTML interpreters that cannot render in-line images ignore the Image element unless it contains the ALT attribute. Note that some HTML interpreters can render linked graphics but not in-line graphics. If a graphic is essential, you may want to create a link to it rather than to put it in-line. If the graphic is not essential, then the Image element is appropriate.

The Image element, which is empty (no closing tag), has these attributes:

ALIGN
The ALIGN attribute accepts the values TOP or MIDDLE or BOTTOM, which specifies if the following line of text is aligned with the top, middle, or bottom of the graphic.
ALT
Optional text as an alternative to the graphic for rendering in non-graphical environments. Alternate text should be provided whenever the graphic is not rendered. Alternate text is mandatory for Level 0 documents. Example of use:
<IMG SRC="triangle.xbm" ALT="Warning:"> Be sure 
to read these instructions.
ISMAP
The ISMAP (is map) attribute identifies an image as an image map. Image maps are graphics in which certain regions are mapped to URIs. By clicking on different regions, different resources can be accessed from the same graphic. Example of use:

<IMG SRC="sample.xbm" ISMAP>

SRC
The value of the SRC attribute is the URI of the document to be embedded; only images can be embedded, not HTML text. Its syntax is the same as that of the HREF attribute of the `<A>' tag. SRC is mandatory. Image elements are allowed within anchors.

Example of use:

<IMG SRC="triangle.xbm">Be sure to read these 
instructions.

Go to the first, previous, next, last section, table of contents.