Content-type: text/html Basic Tag Syntax

Home
WebGroove is no longer supported. These docs are reference only.


Basic Tag Syntax
WebGroove® Script code is very similar to standard HTML. The syntax follows HTML format. All tasks are accomplished through the use of specialized tags, which may be mixed and matched with HTML and other technologies. Tags may have any number of named parameters, with or without values. Some tags surround a block of data with a begin tag and a matching end tag, while other tags stand alone.

Angle Bracket Note
Like HTML, tags appear within a set of angle brackets (<>). However, if a tag's attributes contain a closing bracket, you must also surround the entire tag with a non-alphanumeric character, or one of the [], <>, or () pairs, like this:

<:if a < b:>

Morphing Tags
Some tags can be used in either single or tag-pair forms to better contain multiline information. I good example is the define tag. In most cases a single form is most useful:

<define this that>

However, if you have a very large section to define as the replacement text you should use the tag-pair form for clarity:

<define this>
a whole lotta that
and some of that
</define>


Default Attributes
Some tags have default attributes that allow you to leave off the "attribute=" identifier. Some examples:

<include filename.wg>
<build filename.wg>
<detail myname>
<skip end>


Individual tags in the reference indicate if there are default attributes. A few tags deviate slightly from these standards out of necessity. The documentation for those tags will mention any special syntax changes.

See Also
Agent
Compiler
Complete Tag Reference
File Types
Installation

Up To
Documentation


WebGroove® is a registered trademark of Creativision Publishing Corporation