Lasso Soft Inc. > Home

[HTML_Comment] ... [/HTML_Comment]

[HTML_Comment] ... [/HTML_Comment] surrounds a portion of a page with HTML comment markers, but processes the Lasso tags within.

This tag is necessary since Lasso will not process any tags that are contained within HTML comment tags. The [HTML_Comment] ... [/HTML_Comment] tags are processed into actual HTML comment tags by Lasso ensuring that the Web browser sees the same output, but Lasso is able to process all the contained tags.

These are usually used when creating JavaScript or Style Sheets that have enclosed Lasso tags, but also need to be wrapped in HTML comment tags.

  • Syntax
  • Parameters
[HTML_Comment] ... [/HTML_Comment]
Examples

To hide a portion of a page from the site visitor:

Use [HTML_Comment] ... [/HTML_Comment] tags around the code which should be hidden. The text inside the tags will be visible in the source of the page, but not in the rendered version of the page shown to the site visitor. The following example, hides some status information within an HTML comment.

[HTML_Comment]
  Date Served: [Server_Date]
  Time Served: [Server_Time]
[/HTML_Comment]
Result:
<!--
  Date Served: 8/29/01
  Time Served: 9:58:43
-->
Tag Link [HTML_Comment] ... [/HTML_Comment] Category Output
Type Container Data Source Any
Support Preferred Version 2.5
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft