Navigation:  Appendixes > Appendix A  Reference >

Supported HTML

Previous pageReturn to chapter overviewNext page

Website-Manager uses a subset of HTML codes when generating the reports for display and printing. The behaviour of these codes may not reflect perfectly how they are displayed in a normal Web browser. In fact, some codes may not display correctly in a Web browser at all. This is by design and not necessarily a bug in the software. If something doesn't work as expected, try doing it differently until the results are close enough.

When entering your own HTML code, attribute values should be surrounded by double quote marks. Any tags listed that don't show attributes do not support any attribute tags. Even if the HTML specification indicates the tags has attributes.

Structure Tags

<h1> through <h6>

Heading tags.

<p>...</p>

A left-aligned paragraph by default.

align = center | left | right

<center>...</center>

A centered paragraph.

<blockquote>...</blockquote>

A left-aligned indented paragraph by default.

<ol>...</ol>

An ordered list of list items.

type = 1 | a | A

<ul>...</ul>

An unordered list of list items.

type = disc | circle | square

<li>...</li>

A list item that is within either a <ol> or <ul> list.

<dl>...</dl>

A definition lists consisting of a list of terms (<dt>) and descriptions (<dd>).

<dt>...</dt>

A term in a list of definitions (<dl>).

<dd>...</dd>

A description in a list of definitions (<dl>).

<pre>...</pre>

Displays the text contained -- preserving any white space.

<div>...</div>

Used for grouping elements. Note: this element acts like an 'inline' tag.

<span>...</span>

Used for grouping elements. Note: this element acts like a 'block' tag.

Character Styling

<em>...</em>

Emphasized text. By default this is the same as <i> (italics).

<strong>...</strong>

String text. By default this is the same as <b> (bold).

<i>...</i>

Italic font style.

<b>...</b>

Bold font style.

<u>...</u>

Underline font style.

<s>...</s>

Strikethrough font style.

<big>...</big>

A larger font style than the default.

<small>...</small>

A smaller font style than the default.

<sub>...</sub>

Subscripted text.

<sup>...</sup>

Superscripted text.

<code>...</code>

Used to indicate source code. By default this is the same as <tt> (typewriter text).

<tt>...</tt>

Typewriter font style.

<font>...</font>

Used to customize one or more of the following text styles.

color = text color. For example, color="red" or color="#F30910".
size = logical size of the text from 1 to 7. For example, size="3". You can also use a relative offset from the current size like this, size="-2". If the current size is "3", then the resulting size would be "1".
face = font family. For example, face="Times" or face="Arial".

Special Elements

<img>

Inserts an image in the text. Any images used must be place in the images subfolder under the program directory.

src = the name of the image file. Supported image formats are GIF and PNG. For example, src="logo.png"
width = sets the width of the image. If the image doesn't fit the specified width, it will be scaled to fit.
height = sets the height of the image. If the image doesn't fit the specified height, it will be scaled to fit.
align = [left | right]  By default, no alignment is set and the image will be place inline with the surrounding text. Specify and alignment to float the image on the left or right.

<hr>

A horizontal line.

<br>

A line break.

<nobr>...</nobr>

No break. Prevents the surrounded text from wrapping to another line.

Tables

<table>...</table>

A table.

bgcolor = The background color.
width = The table width. This is either an absolute pixel width or a relative percentage of the screens width, for example width="80%".
border = The width of the table border. The default is 0 (= no border).
cellspacing = Additional space around the table cells. The default is 2.
cellpadding = Additional space around the contents of table cells. The default is 1.

<tr>...</tr>

A table row.

bgcolor = The row background color.

<th>...</th>

A table header cell. By default this is the same a <td> but the alignment defaults to center.

<td>...</td>

A table data cell.

bgcolor = The background color.
width = The cell width. This is either an absolute pixel width or a relative percentage of table's width, for example width=50%.
colspan = Specifies how many columns this cell spans. The default is 1.
rowspan = Specifies how many rows this cell spans. The default is 1.
align = left | right | center
valign = top | middle | bottom

 

 

 

 


Page url: http://www.helpandmanual.com/help/index.html?wmh_supported_html.htm