You are here:  NetStrider » Tutorials » HTMLRef » Commands » ! (Comment) «

HTML Reference Guide

Author: Randy D. Ralph.   In place March 1, 1999.   Copyright © 1999 NetStrider.   Presented as a public service.

BACK <!> Command next

Command Syntax:

<!-- some text or some commands -->

  • The command is unpaired.
  • Comments are enclosed within the command beginning and ending "brackets" -
    and  >.
  • The use of double hyphens  -- is encouraged although not strictly necessary.
Examples:
<!-- this is a comment -->

Commented text does not display in the browser.

<!--
  <ol>
    <li>eggs
    <li>ham
    <li>toast
  </ol>

-->

"Commented out" commands are not executed and do not display in the browser.

See also:  <COMMENT>
 

Return to Section A:D


Return to the List of Commands.
Author: Randy D. Ralph.  In place March 1, 1999.  Copyright © 1999 NetStrider.  World Rights reserved.




Hosted by uCoz