<ulclass="crumbs"><li><ahref="../index.html">Home</a></li><li><ahref="../services.html">Services</a></li><li><ahref="index.html">html</a></li><li><ahref="index.html#P">Preliminaries</a></li><li><b>How To Include This Module</b></li></ul></div>
<pclass="commentary firstcommentary"><aid="SP1"class="paragraph-anchor"></a><b>§1. Status. </b>The html module provided as one of the "services" suite of modules, which means
that it was built with a view to potential incorporation in multiple tools.
It can be found, for example, in <ahref="../inform7/index.html"class="internal">inform7</a> and <ahref="../inbuild/index.html"class="internal">inbuild</a>.
<pclass="commentary">A tool can import <ahref="index.html"class="internal">html</a> only if it also imports <ahref="../../../inweb/foundation-module/index.html"class="internal">foundation</a> and <ahref="../words-module/index.html"class="internal">words</a>.
<pclass="commentary firstcommentary"><aid="SP2"class="paragraph-anchor"></a><b>§2. Importing the module. </b>We'll use the term "parent" to mean the tool which is importing <ahref="index.html"class="internal">html</a>,
<ulclass="items"><li>● The parent must call <spanclass="extract"><spanclass="extract-syntax">HTMLModule::start()</span></span> just after it starts up, and
<spanclass="extract"><spanclass="extract-syntax">HTMLModule::end()</span></span> just before it shuts down. (But just after, and just
<pclass="commentary firstcommentary"><aid="SP3"class="paragraph-anchor"></a><b>§3. Callback function. </b>The user must define one callback function:
</p>
<ulclass="items"><li>●<spanclass="extract"><spanclass="extract-syntax">INSTALLED_FILES_HTML_CALLBACK</span></span> should return the pathname of a directory
in which miscellaneous installed resources such as CSS files can be found.