Generated: Monday, November 14, 2011, 09:17:57Copyright ©2011, Kurt NørmarkThe local LAML software home page

Reference Manual of the HTML version 1 library

Kurt Nørmark ©    normark@cs.auc.dk    Department of Computer Science    Aalborg University    Denmark    

Source file: lib/html-v1.scm
LAML Version 38.0 (November 14, 2011, full)

The HTML version 1 library is an early attempt to create a more systematic bottom layer of LAML than found in the HTML library. A much better solution has since been implemented in by the basis mirror and surface mirror libraries. The version number of this library (1) has nothing to do with the version of the HTML language.

Given a list of single tags and a list of double tags this library provides simple Scheme mirror functions. In addition a number of helping functions are contained in this library. Also a few page creation functions, built on top of the automatically generated functions, are also provided.

The mirroring tool functions are not part of this library. They can be found in the tool 'The HTML mirroring tool'.

This library is now obsolete. The direct counterpart, which is recommended, is basis mirror. See also the convenience library and the surface mirror of HTML4.01 transitional.

Table of Contents:
1. Tag generation.3. Attribute linearization.5. Higher level html-v1 functions.
2. General tag functions.4. Auto generated functions.

Alphabetic index:
end-tag(end-tag kind)Retun a html end tag
generate-tag-function(generate-tag-function tag-name)Given a tag-name generate an mirror function for the tag in Scheme.
generate-tag1-function(generate-tag1-function tag-name)Given a tag-name generate an mirror function for the tag in Scheme.
html:ahtml:aA Scheme mirrored HTML double tag function.
html:addresshtml:addressA Scheme mirrored HTML double tag function.
html:applethtml:appletA Scheme mirrored HTML double tag function.
html:areahtml:areaA Scheme mirrored HTML single tag function.
html:bhtml:bA Scheme mirrored HTML double tag function.
html:basehtml:baseA Scheme mirrored HTML single tag function.
html:basefonthtml:basefontA Scheme mirrored HTML single tag function.
html:bgsoundhtml:bgsoundA Scheme mirrored HTML single tag function.
html:bightml:bigA Scheme mirrored HTML double tag function.
html:blockquotehtml:blockquoteA Scheme mirrored HTML double tag function.
html:bodyhtml:bodyA Scheme mirrored HTML double tag function.
html:brhtml:brA Scheme mirrored HTML single tag function.
html:captionhtml:captionA Scheme mirrored HTML double tag function.
html:centerhtml:centerA Scheme mirrored HTML double tag function.
html:citehtml:citeA Scheme mirrored HTML double tag function.
html:codehtml:codeA Scheme mirrored HTML double tag function.
html:colhtml:colA Scheme mirrored HTML single tag function.
html:colgrouphtml:colgroupA Scheme mirrored HTML single tag function.
html:commenthtml:commentA Scheme mirrored HTML double tag function.
html:ddhtml:ddA Scheme mirrored HTML double tag function.
html:dfnhtml:dfnA Scheme mirrored HTML double tag function.
html:dirhtml:dirA Scheme mirrored HTML double tag function.
html:divhtml:divA Scheme mirrored HTML double tag function.
html:dlhtml:dlA Scheme mirrored HTML double tag function.
html:dthtml:dtA Scheme mirrored HTML double tag function.
html:emhtml:emA Scheme mirrored HTML double tag function.
html:embedhtml:embedA Scheme mirrored HTML double tag function.
html:fonthtml:fontA Scheme mirrored HTML double tag function.
html:formhtml:formA Scheme mirrored HTML double tag function.
html:framehtml:frameA Scheme mirrored HTML double tag function.
html:framesethtml:framesetA Scheme mirrored HTML double tag function.
html:h1html:h1A Scheme mirrored HTML double tag function.
html:h2html:h2A Scheme mirrored HTML double tag function.
html:h3html:h3A Scheme mirrored HTML double tag function.
html:h4html:h4A Scheme mirrored HTML double tag function.
html:h5html:h5A Scheme mirrored HTML double tag function.
html:h6html:h6A Scheme mirrored HTML double tag function.
html:headhtml:headA Scheme mirrored HTML double tag function.
html:hrhtml:hrA Scheme mirrored HTML single tag function.
html:htmlhtml:htmlA Scheme mirrored HTML double tag function.
html:ihtml:iA Scheme mirrored HTML double tag function.
html:iframehtml:iframeA Scheme mirrored HTML double tag function.
html:imghtml:imgA Scheme mirrored HTML single tag function.
html:inputhtml:inputA Scheme mirrored HTML single tag function.
html:isindexhtml:isindexA Scheme mirrored HTML single tag function.
html:kbdhtml:kbdA Scheme mirrored HTML double tag function.
html:lihtml:liA Scheme mirrored HTML double tag function.
html:linkhtml:linkA Scheme mirrored HTML single tag function.
html:maphtml:mapA Scheme mirrored HTML double tag function.
html:marqueehtml:marqueeA Scheme mirrored HTML double tag function.
html:menuhtml:menuA Scheme mirrored HTML double tag function.
html:metahtml:metaA Scheme mirrored HTML single tag function.
html:multicolhtml:multicolA Scheme mirrored HTML double tag function.
html:nextidhtml:nextidA Scheme mirrored HTML single tag function.
html:nobrhtml:nobrA Scheme mirrored HTML double tag function.
html:noframeshtml:noframesA Scheme mirrored HTML double tag function.
html:noscripthtml:noscriptA Scheme mirrored HTML double tag function.
html:objecthtml:objectA Scheme mirrored HTML double tag function.
html:olhtml:olA Scheme mirrored HTML double tag function.
html:optionhtml:optionA Scheme mirrored HTML double tag function.
html:phtml:pA Scheme mirrored HTML double tag function.
html:page(html:page title meta-contributions body bg-color text-color link-color vlink-color)Return an HTML page with html, head, meta and title tags.
html:page-with-keypress-script(html:page-with-keypress-script title meta-contributions body script-loading script keypress-action bg-color text-color link-color vlink-color)A version of html:page with Javascript scripts as a new fourth to sixth parameter.
html:paramhtml:paramA Scheme mirrored HTML double tag function.
html:plaintexthtml:plaintextA Scheme mirrored HTML single tag function.
html:prehtml:preA Scheme mirrored HTML single tag function.
html:shtml:sA Scheme mirrored HTML single tag function.
html:samphtml:sampA Scheme mirrored HTML double tag function.
html:scripthtml:scriptA Scheme mirrored HTML double tag function.
html:selecthtml:selectA Scheme mirrored HTML double tag function.
html:smallhtml:smallA Scheme mirrored HTML double tag function.
html:spacerhtml:spacerA Scheme mirrored HTML single tag function.
html:spanhtml:spanA Scheme mirrored HTML double tag function.
html:strikehtml:strikeA Scheme mirrored HTML double tag function.
html:stronghtml:strongA Scheme mirrored HTML double tag function.
html:stylehtml:styleA Scheme mirrored HTML double tag function.
html:subhtml:subA Scheme mirrored HTML double tag function.
html:suphtml:supA Scheme mirrored HTML double tag function.
html:tablehtml:tableA Scheme mirrored HTML double tag function.
html:tbodyhtml:tbodyA Scheme mirrored HTML single tag function.
html:tdhtml:tdA Scheme mirrored HTML double tag function.
html:textareahtml:textareaA Scheme mirrored HTML double tag function.
html:tfoothtml:tfootA Scheme mirrored HTML single tag function.
html:theadhtml:theadA Scheme mirrored HTML single tag function.
html:titlehtml:titleA Scheme mirrored HTML double tag function.
html:trhtml:trA Scheme mirrored HTML double tag function.
html:tthtml:ttA Scheme mirrored HTML double tag function.
html:ulhtml:ulA Scheme mirrored HTML double tag function.
html:varhtml:varA Scheme mirrored HTML double tag function.
html:wbrhtml:wbrA Scheme mirrored HTML single tag function.
itag(itag name contents attributes)Return a balanced html tag of both start and end tag, based on two parameters.
itag1(itag1 name attributes)Like tag1, but with a fixed number of paramers.
linearize-attributes(linearize-attributes attr-list)Convert the Lisp property list attr-list to a string conforming to the rules of an html attribute list
start-tag(start-tag kind . attributes)Return a HTML start tag.
tag(tag name contents . attributes)Return a balanced html tag of both start and end tag: contents name is a symbol or string.
tag1(tag1 name . attributes)Return a single html tag without end tag

 

1.   TAG GENERATION.
Higher order functions which generate an html Scheme functions.


generate-tag-function


Form
(generate-tag-function tag-name)

Description
Given a tag-name generate an mirror function for the tag in Scheme. For double tags. The parameter tag-name is a symbol.


generate-tag1-function


Form
(generate-tag1-function tag-name)

Description
Given a tag-name generate an mirror function for the tag in Scheme. For single tags. The parameter tag-name is a symbol.


 

2.   GENERAL TAG FUNCTIONS.
A number of low level tag support functions. These functions are useful if we need to generate separate start and/or end tags.


start-tag


Form
(start-tag kind . attributes)

Description
Return a HTML start tag. kind is a string. attributes is a lisp property list of key-symbol value pairs


end-tag


Form
(end-tag kind)

Description
Retun a html end tag


tag


Form
(tag name contents . attributes)

Description
Return a balanced html tag of both start and end tag: contents name is a symbol or string. contents is the stuff between the start and end tag: converted to string attributes is a lisp property list of key-symbol value pairs


itag


Form
(itag name contents attributes)

Description
Return a balanced html tag of both start and end tag, based on two parameters. The 'i' in the function name means 'internal'.


tag1


Form
(tag1 name . attributes)

Description
Return a single html tag without end tag


itag1


Form
(itag1 name attributes)

Description
Like tag1, but with a fixed number of paramers. The 'i' in the function name means 'internal'.


 

3.   ATTRIBUTE LINEARIZATION.


linearize-attributes


Form
(linearize-attributes attr-list)

Description
Convert the Lisp property list attr-list to a string conforming to the rules of an html attribute list


 

4.   AUTO GENERATED FUNCTIONS.
Use the LAML tool html-tag-generation.scm in the tools directory to generate these functions.


html:a


Form
html:a

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:address


Form
html:address

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:applet


Form
html:applet

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:b


Form
html:b

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:big


Form
html:big

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:blockquote


Form
html:blockquote

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:body


Form
html:body

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:caption


Form
html:caption

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:center


Form
html:center

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:cite


Form
html:cite

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:code


Form
html:code

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:comment


Form
html:comment

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:dd


Form
html:dd

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:dfn


Form
html:dfn

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:dir


Form
html:dir

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:div


Form
html:div

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:dl


Form
html:dl

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:dt


Form
html:dt

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:em


Form
html:em

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:embed


Form
html:embed

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:font


Form
html:font

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:form


Form
html:form

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:frame


Form
html:frame

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:frameset


Form
html:frameset

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:h1


Form
html:h1

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:h2


Form
html:h2

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:h3


Form
html:h3

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:h4


Form
html:h4

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:h5


Form
html:h5

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:h6


Form
html:h6

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:head


Form
html:head

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:html


Form
html:html

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:i


Form
html:i

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:iframe


Form
html:iframe

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:kbd


Form
html:kbd

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:li


Form
html:li

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:map


Form
html:map

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:marquee


Form
html:marquee

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:menu


Form
html:menu

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:multicol


Form
html:multicol

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:nobr


Form
html:nobr

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:noframes


Form
html:noframes

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:noscript


Form
html:noscript

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:object


Form
html:object

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:ol


Form
html:ol

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:option


Form
html:option

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:p


Form
html:p

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:param


Form
html:param

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:samp


Form
html:samp

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:script


Form
html:script

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:select


Form
html:select

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:small


Form
html:small

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:span


Form
html:span

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:strike


Form
html:strike

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:strong


Form
html:strong

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:style


Form
html:style

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:sub


Form
html:sub

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:sup


Form
html:sup

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:table


Form
html:table

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:td


Form
html:td

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:textarea


Form
html:textarea

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:title


Form
html:title

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:tr


Form
html:tr

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:tt


Form
html:tt

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:ul


Form
html:ul

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:var


Form
html:var

Description
A Scheme mirrored HTML double tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag contents-form 'attr1 val1 'attr2 val2) 


html:area


Form
html:area

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:base


Form
html:base

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:basefont


Form
html:basefont

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:bgsound


Form
html:bgsound

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:br


Form
html:br

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:col


Form
html:col

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:colgroup


Form
html:colgroup

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:hr


Form
html:hr

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:img


Form
html:img

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:input


Form
html:input

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:isindex


Form
html:isindex

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:link


Form
html:link

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:meta


Form
html:meta

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:nextid


Form
html:nextid

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:plaintext


Form
html:plaintext

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:pre


Form
html:pre

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:s


Form
html:s

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:spacer


Form
html:spacer

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:tbody


Form
html:tbody

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:tfoot


Form
html:tfoot

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:thead


Form
html:thead

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


html:wbr


Form
html:wbr

Description
A Scheme mirrored HTML single tag function. Auto generated by means of the functions in html-tag-generation.scm.

Usage:

(html:tag 'attr1 val1 'attr2 val2) 


 

5.   HIGHER LEVEL HTML-V1 FUNCTIONS.
Convenient HTML functions at a higher and more aggregate level, using html-v1 functions. Notice that some of these function assumes that other functions are defined.


html:page


Form
(html:page title meta-contributions body bg-color text-color link-color vlink-color)

Description
Return an HTML page with html, head, meta and title tags. Depends on the functions laml-standard-comment from the html library. Furthermore, this function assumes that the functions tracing-comment and meta-tag-clauses are defined. The function meta-tag-clauses must return a property list of meta-descriptors. Tracing comment must return a string. Tracing-comment is meant to let us trace the LAML source files etc. Meta-tag-clauses goes into a HTML meta-tag in the beginning of the generated document together with the parameter meta-contributions. The html:page function is a more elaborate version of the page from from the html library. The first part of the string output is the standard DOCTYPE. The parameter meta-contributions is a list of meta-descriptors. A meta-descriptor is a even length list of the form (key val key val ...). The keys must be symbols, the values must be strings. The last four parameters must consist of a background color, text color, link color and visited link color (all color RGB lists). This function requires the plain html library to be loaded.


html:page-with-keypress-script


Form
(html:page-with-keypress-script title meta-contributions body script-loading script keypress-action bg-color text-color link-color vlink-color)

Description
A version of html:page with Javascript scripts as a new fourth to sixth parameter. The parameter script-loading can either be static or dynamic (symbols). If static, included the script in the html document. If dynamic, refer to the script in the a javascript subdirectory. The parameter script is a list of two file path components (prefix-static-part js-filename), both strings. If script-loading is static (string-append prefix-static-part js-filename) is the name of the script file, the contents of which must be included inline. If script-loading is dynamic js-filename is the name of a file in the html/javascript directory, including extension. The parameter keypress-action is supposed to be an activation of a Javascript function defined in script. Uses the function read-text-file from the file-read library.


Generated: Monday, November 14, 2011, 09:17:57
This documentation has been extracted automatically from the Scheme source file by means of the Schemedoc tool