| Viewed 127 times

how to make notes in html


how to make notes in html

1 Answer
Mikdam Qandeel
Answered
10

Notes in HTML or comments we use it to describe or define something but we don't want the text to appear on the browser. In addition, we can use it to stop a specific function from Javascript

Let's do it:

<!DOCTYPE html>
<html>
<body>

    <!-- This is a note/comment will not appear -->
    <p>This is a simple paragraph.</p>

</body>
</html>

Output:

This is a simple paragraph.