Which of the tag is used to show the comments in the JSP page
-
<% code fragment %>
-
<%= expressions %>
-
<%! Declarations %>
-
<%-- comment -- %>
D
Correct answer
Explanation
The <%-- comment -- %> syntax is used for JSP comments, which are ignored by the JSP container and not sent to the client browser. This is different from HTML comments () which are visible in the page source, and other JSP scripting elements (<% %>, <%= %>, <%! %>).