To create a link to an arbitrary location in a file, you must identify or establish a target at that location. You can use a format macro to create and name the target. For example, suppose one of your HTML files includes a procedure, and you want to create a link to the procedure rather than to the beginning of the file. Suppose your procedures always start with a paragraph format called ProcHead. You could assign the following properties and code to ProcHead:
[HTMLParaStyles] ProcHead=CodeBefore
[ParaStyleCodeBefore] ProcHead=<a name="startproc" id="startproc"></a>
If the procedure is in HTML file xx123456, the link would look like this:
<a href="xx123456#startproc"></a>
You must ensure the target file contains no conflicting uses of the same target name, for example in HyperAnchor PI markers.