| There are two types of tags in TagMaster, and both are described in detail in 1.4, "Wide and short tags" . You can only use wide tags for the purposes of segmenting the parts of your template, however. Wide tags are HTML comments composed of a start tag and an end tag. Although the format for these tags may be changed in the TagMaster preferences, the default format is <!--tag "tagname"--> for the start tag, and <!--/tag "tagname"--> for the end tag. By placing a start tag at the beginning of each segmentable feature of your template page, and an end tag at the end of that same feature, that feature of the template may be easily addressed from within a Build file later on. An example of a segmentable feature is a table that lists upcoming events in the center of your webpage. The table itself and each line of that table are segmentable features. <!--tag "event table"--> <TABLE> <!--tag "new table row"--> <TR><TD> <TD></TR> <!--/tag "new table row"--> </TABLE> <!--/tag "event table"--> This table, however, does not contain anything. In order to add the ability to alter the table's contents, another tag must be added. <!--tag "event table"--> <TABLE> <!--tag "new table row"--> <TR><TD> <!--tag "contents"--> Your text here <!--/tag "contents"--> <TD></TR> <!--/tag "new table row"--> </TABLE> <!--/tag "event table"--> The tag "contents" in the above example will be used differently than the other two in the Build file. Instead of re-using data contained inside of the tag, the "contents" tag will be replaced. |
© Copyright 1997-1999 Dataczar Technologies. All rights reserved. |