htmlbold(
htmlbold(
TEXT
)

The htmlbold( function takes the text and adds `<b>` and `</b>` tags to it.

Parameters

This function has one parameter:

text – the original text.

Description

Takes the original text and adds `<b>` and `</b>` tags to it. If the text is later displayed as part of an HTML page, it will be displayed in bold.

    htmlbold("hello world") ☞ <b>hello world</b>

Note: This function is equivalent to:

    "<b>"+thetext+"</b>"

See Also

- htmlitalic( -- takes the text and adds `` and `` tags to it.
- richtextdata( -- adjusts text so that it will display properly in rich text even if it contains a < character.
- richtextdisplay( -- works with Text Display objects to display text with multiple styles, fonts, colors and alignments.
- striphtmltags( -- removes all HTML tags from the text.
- tagstrip( -- removes tags (usually HTML tags) from within a piece of text.
- xtagvalue( -- extracts the text from the first matching HTML or XML tag.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.