Thursday, 19 January 2017

What is an output comment/ HTML Comment?

A comment that is sent to the client in the viewable page source. The JSP engine handles an output comment as non-interpreted HTML text, returning the comment in the HTML output sent to the clients. You can see the comment by viewing the page source from your Web browser

Syntax: <!-- This is a comment sent to client on <%= (new java.util.Date()).toLocaleString() %> -->

No comments:

Post a Comment