Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipX.Lib v1.2 - <b>fontbeg()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FontBeg()
Returns/writes HTML Font begin tag and font attributes <font ...>
---------------------------------------------------------------------

Syntax:

  FontBeg( [<cText>] )  --->  cString

Arguments:

  <cText> is a character string of attributes for the font tag.

Returns: A character string consisting of the generated HTML tag.

Description:

  Generates Font begin tag setting the font attributes supplied
  in the parameter <cText>.

  The generated string is always returned. The string will be written
  to standard-out depending on the value of StopWrite().
  The default StopWrite() value is FALSE. Setting the StopWrite() value
  to TRUE will suspend the write to standard-out.

  The font applies until a FormEnd() is called.

Examples:

  htmlWrite( "This line is displayed in the browser default font size" )
  FontBeg('size="2"')
  htmlWrite( "This line is displayed in font size 2" )
  htmlWrite( "This line is still displayed in font size 2" )
  FontEnd()
  htmlWrite( "Back to the previous font." )

Alternate:

  htmlWrite( '<Font " .. attribute string .. " >' )

Files: Library is ClipX.Lib

Online reference:  Mikodocs Guide To HTML - Font


See Also: FontEnd()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson