You can add comments to XHTML documents to remind yourself or a document of what others were trying to make a web page. XHTML comments are just the source code of the page and is invisible to your users page - that is, the browser ignore the XHTML content of the comments. XHTML comment is an example of this:
e.g:
<html>
<head>
</head>
<body>
<h1>This is XHTML comment</h1>
<p>XHTML comments are a useful way for Web developers</p>
<!-- This is XHTML comment -->
</body>
</html>
No comments:
Post a Comment