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>htmlbeg()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HtmlBeg()
Returns/writes HTML begin tag <html>
---------------------------------------------------------------------

Syntax:

  HtmlBeg()  --->  cString

Arguments: None

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

Description:

   Generates HTML begin tag to start the page definition.

  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.

   Requires a terminating HtmlEnd() to end the page definition.

Examples:

  function main()
    if !ClipXOpen()
      Quit // or Your end of application routine
    endif
    header()
    htmlBeg()
    headBeg()
    TitleBeg("My Title")
    TitleEnd()
    headEnd()
    bodyBeg("bgcolor="white")
    htmlWrite("Hello World!")
    bodyEnd()
    htmlEnd()
  return(NIL)

Alternate:

  htmlWrite( "<html>" )

Files: Library is ClipX.Lib

Online reference:  Mikodocs Guide To HTML - HTML tag


See Also: HtmlEnd() HtmlBodyBeg() HtmlBodyEnd()

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