Author: Don Porter

--> --> and
tags is ignored -->

# Example HTML Page for OOMMF Help Browser

## OOMMF Help Browser HTML Syntax

HTML files are structured as nested elements. An element consists of a start tag, a corresponding end tag, and the text between them. For example `<I>this</I>` is a simple I element. Some elements have their end tags implied by context. Each element has rules, determined by its tags, about the type of elements which it can contain.

The BODY element may contain ADDRESS, BLOCKQUOTE, DL, H1, H2, H3, H4, H5, H6, HR, IMG, OL, P, PRE, and UL elements. It may not contain text outside of an element. A common mistake is to forget to open a paragraph with a `<P>` tag. Examples of each of these legal elements follow.

The P element indicates a paragraph, and is used throughout this example page. It may contain text outside an element as well as the elements A (like this link to the bottom of the page), IMG (), BR,
and the formatting elements `TT`, `CODE`, `SAMP`, `KBD`, VAR, B, STRONG, I, EM, and CITE.

Some additions to the HTML Level 1 formatting elements are the elements SUP for superscripts and SUB for subscripts.

The P element also accepts an ALIGN attribute which takes the values `left`, `center`, and `right` which determine the justification of the display. Left justification is the default. Several extra sentences are appended to this paragraph to illustrate the right justification. Several extra sentences are appended to this paragraph to illustrate the right justification. Several extra sentences are appended to this paragraph to illustrate the right justification. Several extra sentences are appended to this paragraph to illustrate the right justification.

The DIV element also accepts the ALIGN attribute and is an alternate way to describe document structure. Several extra sentences are appended to this paragraph to illustrate the center justification. Several extra sentences are appended to this paragraph to illustrate the center justification. Several extra sentences are appended to this paragraph to illustrate the center justification. Several extra sentences are appended to this paragraph to illustrate the center justification.

NOTE:Use of the ADDRESS tag is not recommended, as there does not appear to be any consensus what it means.

> This text is set off from the main text within a BLOCKQUOTE element.

> BLOCKQUOTE elements are often handy to force indentation, even if their contents are not really quoted text. The legal contents of a BLOCKQUOTE element are the same as those of a BODY element.

Next is an example of a definition list, the DL element. The DL element may contain only DT and DL elements. Note that DT and DD elements may omit their end tags. Here they are included to make the nesting clear.

Term
  Definition
Second Term
  Second Definition
  Nested list example
    Part of the Second Definition in the main list is this nested definition list.

# Heading examples

## There are six levels of headings

### They should be used to head sections

#### Their level indicates a hierarchy

##### Level 5

###### Level 6

A horizontal rule:

An IMG element:

An ordered list is indicated by the OL element. The OL element may contain only LI elements. The TYPE attribute of the OL tag determines the symbols used to order the list.

1. Item one
   1. Item one
      1. Item one
         1. Item one
            1. Item one
            2. Item two
            3. Item three
         2. Item two
         3. Item three
      2. Item two
      3. Item three
   2. Item two
   3. Item three
2. Item two
3. Item three

The PRE element causes a block of text to be printed as it appears within the HTML file, without interpretation of any HTML tags, and using the original line breaks. It is most useful for displaying source code or for displaying rudimentary tables.

    The I element is used
    to cause text to be
    displayed in italics

Finally, unordered (or bulleted) lists are indicated by the UL element.

- Item one
  - Item one
    - Item one
    - Item two
    - Item three
  - Item two
  - Item three
- Item two
- Item three

return to the A element example.