Horje
How to hide Inline Content

Comments can be used to hide parts in the middle of the HTML code.

 


Example of Hidding Inline Content

Hide a part of a paragraph:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<p>This <!-- great text --> is a paragraph.</p>

</body>
</html>

Output should be:

Example of Hidding Inline Content





Related Articles
What is HTML Comments HTML Comments
How to create HTML Comment Tag HTML Comments
How to add HTML Comments HTML Comments
How to Hide HTML Content HTML Comments
How to Hide HTML Content Part 2 HTML Comments
How to hide Inline Content HTML Comments

Single Articles
Example of Hidding Inline ContentHTML Comments

Read Full:
HTML Comments
Category:
Web Tutorial
Sub Category:
HTML Comments
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
183


Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_comment_inline

Share on: