AgentBase AgentBase for SICStus Prolog
Swedish Institute of Computer Science
http://www.sics.se/isl/agentbase/


HTML

HTML is a package used together with the HTTP package for simpler HTML generation.

... to be written ...

Usage

  • page_start(+HttpResponse, +Title) - sends a HTML page start
  • page_end(+HttpResponse) - ends a HTML page

    These methods sends HTML headings of various sizes:

  • heading1(+HttpResponse,+HeadingText)
  • heading2(+HttpResponse,+HeadingText)
  • heading3(+HttpResponse,+HeadingText)

    These two methods are used to send data back to the HTTP requester. A HTTP header is sent automatically with content type set to text/html if no header has yet been sent.

  • send(+HttpResponse,+Text) - sends the specified text
  • send(+HttpResponse,+Format,+Args) - formats and sends the specified text using same formatting as user:format/2


Copyright © 2001 SICS AB, All Rights Reserved.