Comment Tags

!>

Use the comment tag and comment sub-tags to make invisible notes in your code.

Single line comment

!>comment

Multi-line comment

!>
	comment
	comment
	comment
/>

Sub-comment Tags

You can use the following list tags in your comments and swl will format them so that they look good when you're spying the innards of your HTML. See the list tags page for more information on their coresponding formats.

  • #
  • *
  • A
  • a

Example:

!>
	comment
	a>
		comment
		comment
	/>
/>

will appear in your HTML as such:

<!--
	comment
	a.)	comment
	b.)	comment
-->

Mnemonic

SWL uses '!' to represent comments simply because it's the first character of a comment tag in HTML. If you need aditional help remembering, '!' is the character you might write at the end of a 'comment'!


tag_comment.swl