Supported HTML Tags

<< Click to Display Table of Contents >>

Navigation:  Program Windows > Terminal Log Window >

Supported HTML Tags

Following subset of HTML tags can be used in:

oNote column in the Terminal Log window.

oName column in the Bookmarks window.

 

Every tag must start with <html>. E.g. <html><b>Hello</b>

To create new line use the <br> tag. A new line created by the Shift+Enter keys is not reflected in the result.

Example: <html><font color=#E74C3C><B>Warning !</B></FONT><BR>Test<BR><a href="www.iqrf.org">www.iqrf.org</a>

 

Tag

Syntax

Comments & samples

Bold

<b>, </b>

bold

Indentation

<ind width="Width" [pos=abs]>

Use this tag to make indentation with absolute or relative position. Sample:

<ind width=100 pos=abs>a1<ind width=150 pos=abs>a2<ind width=200 pos=abs>a3 

Italic

<i>, </i>

italic

Underline

<u>, </u>

underline

Strikeout

<strikeout>, </strikeout> or <s>, </s>

striked out

Paragraph

<p [align="left|right|center"]>, </p>

Use align parameter to specify the alignment of the text in the paragraph. Default value for align is "left".

Subscript

<sub>, </sub>

Subscript text is drawn with smaller font and with baseline moved down.

Superscript

<sup>, </sup>

Superscript text is drawn with smaller font and with baseline moved up.

Unordered list of  elements

<ul><li>item</li>...</ul>

item 1

item 2

Ordered list of elements

<ol><li>item</li>...</ol>

1.item 1

2.item 2

Horizontal divider

<hr [width="width"]>

If no value for width attribute is specified, then it will take maximum available value.

Line break

<br>


Font

<font [name="fontname"] [size="x|+x|-x|x px"]

 [color={"#rrggbb"|"color name"}]

 [bgcolor={"#rrggbb"|"color name"}]>text</font>

You can specify the name of the font name, size (absolute size or increase, decrease of size) and font background color. Color must be a valid hexadecimal value in common HTML format, valid VCL color identifier (clWhite, clBtnFace for example) or valid HTML color identifier (red, black, btnshadow for example). You can use background synonym for bgcolor attribute.

 

Note: If size value is greater than 0 and less than 10 and there is no plus or minus sign, then it means standard font increase relative to default size. Example:

<font name="Arial" size=2>

<font name="Arial" size=3>

<font name="Arial" size=4>

 

In order to specify exact font size in pixels, use size="N px" form of the size attribute.

Hyperlink

 <a href="link">link text</a>

Link parameter value is passed to OnLinkClick event handler, present in some controls (not all controls support clicking on the URLs).