Context summary.
➔ Comments help programmers.
➔ Comments are the notes for the code of its purpose.
➔ Comments are not displayed when the page is rendered.
➔ It is useful to understand the code function or objective after a long time.
➔ In production comments are deleted.
➔ Comment tags do not support any attributes.
Syntax
<!-- This is an HTML comment -->
<!-- This is an HTML comment -->
<p>Welcome <!-- to --> w3context. Comments are the notes for the code of its purpose.</p>
<!-- Comments are not displayed in the browser -->
Learning with HTML Editor "Try it Now"
You can edit the HTML code and view the result using online editor.
Example
<!DOCTYPE html>
<html>
<head>
<title>HTML abbr tag example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8" />
</head>
<body>
<h2>HTML abbr tag example</h2>
<p>A <abbr title="Uniform Resource Locator">URL</abbr> is the address of a given unique resource on the web.</p>
<p>A <abbr title="Uniform Resource Identifier">URI</abbr> is a string of characters that identifies a resource on
the web using location, name, or both.</p>
</body>
</html>
Click on the "Try it Now" button to see how it works.