HTMLHTML TutorialHTML Codes/Generators
HTML Background Code
HTML TagsHTML Color HTML Color Chart HTML Comment Box Code HTML Scrollbox Code HTML Text Code HTML Image Code HTML Marquee Code HTML Music Code HTML Video Code HTML Form Code HTML Frames Code HTML Entities HTML Examples HTML Help/Cheat Sheet HTML Templates More Codes... HTML Generator HTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator MySpace Generators More Generators... HTML 5 Tags Create a Website |
HTML Comments CodeWhen coding HTML, you might want to place a comment in the code. An HTML comment is some text that is hidden from normal web visitors when they view your website in a browser. Note: They can still see your HTML comments if they "view source" though. You can use the following HTML code to hide comments within your HTML document. Example HTML Comments Code:To hide text within your html codes, you simply surround it with opening and closing comment tags. The opening comment tag is
This results in: The browser will display this comment because it is not surrounded by comment code. You'll notice that the first comment was not displayed by the browser (because it was wrapped within the HTML comment code). |
Need Website Content?
Get unique, quality digital content for your website.
|