The following functions accept as input a single character string and output the HTML markup for the string as highlighted text. These functions also accept an optional argument named class
. For information about the class
argument and the default values for it, see Section 12.4, "WML support for CSS".
For example:
big("toto") -> "<BIG CLASS=classname>toto</BIG>"
bold("toto") -> "<B CLASS=classname>toto</B>"
For example:
cite("toto") -> "<CITE CLASS=classname>toto</CITE>"
For example:
code("toto") -> "<CODE CLASS=classname>toto</CODE>"
For example:
definition("toto") -> "<DFN CLASS=classname>toto</DFN>"
For example:
emphasise("toto") -> "<EM CLASS=classname>toto</EM>"
For example:
italic("toto") -> "<I CLASS=classname>toto</I>"
For example:
keyboard("toto") -> "<KBD CLASS=classname>toto</KBD>"
For example:
sample("toto") -> "<SAMP CLASS=classname>toto</SAMP>"
For example:
small("toto") -> "<SMALL CLASS=classname>toto</SMALL>"
For example:
strong("toto") -> "<STRONG CLASS=classname>toto</STRONG>"
For example:
subscript("toto") -> "<SUB CLASS=classname>toto</SUB>"
For example:
strikethrough("toto") -> "<STRIKE CLASS=classname>toto</STRIKE>"
For example:
superscript("toto") -> "<SUP CLASS=classname>toto</SUP>"
For example:
teletype("toto") -> "<TT CLASS=classname>toto</TT>"
For example:
underline("toto") -> "<U CLASS=classname>toto</U>"
For example:
variable("toto") -> "<VAR CLASS=classname>toto</VAR>"
Generated with Harlequin WebMaker