html.com
Open in
urlscan Pro
2606:4700:3033::6815:5204
Public Scan
Submitted URL: http://html.com/tags/comment-tag/
Effective URL: https://html.com/tags/comment-tag/
Submission Tags: falconsandbox
Submission: On February 21 via api from US — Scanned from DE
Effective URL: https://html.com/tags/comment-tag/
Submission Tags: falconsandbox
Submission: On February 21 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMGET https://html.com/
<form role="search" method="get" class="search-form" action="https://html.com/"> <label> <span class="screen-reader-text">Search for:</span> <input type="search" class="search-field" placeholder="Search …" value="" name="s"> </label> <input
type="submit" class="search-submit" value="Search"></form>
Text Content
Skip to content Learn HTML Code, Tags & CSS HTML / HTML Document Structure Before And After HTML5 – Here’s What Changed / The HTML Comment Tag: Here's How To Use It In Your Code THE HTML COMMENT TAG: HERE'S HOW TO USE IT IN YOUR CODE In HTML Tags Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more Element ofHTML Document Structure Before And After HTML5 – Here’s What ChangedWhat does The HTML Comment Tag: Here's How To Use It In Your Code do?This element is used to add a comment to an HTML document. An HTML comment begins with <!–– and the comment closes with ––>. HTML comments are visible to anyone that views the page source code, but are not rendered when the HTML document is rendered by a browser.Displayinline CODE EXAMPLE You will be able to see this text. <!-- You will not be able to see this text. --> You can even comment out things in <!-- the middle of --> a sentence. <!-- Or you can comment out a large number of lines. --> <div class="example-class"> Another thing you can do is put comments after closing tags, to help you find where a particular element ends. <br> (This can be helpful if you have a lot of nested elements.) </div> <!-- /.example-class --> You will be able to see this text. You can even comment out things in a sentence. Another thing you can do is put comments after closing tags, to help you find where a particular element ends. (This can be helpful if you have a lot of nested elements.) Adam Wood Adam is a technical writer who specializes in developer documentation and tutorials. BROWSER SUPPORT FOR HTML COMMENT AllAllAllAllAllAll POST NAVIGATION The Student’s Guide To Citation Styles: Here’s When (And How) To Cite HTML Img Alt Tags For SEO Best Practice - Search Engines Love Them Search HTML.com Search for: Most Popular * <var> HTML Tag996 views * Using The HTML Tag To Create Inline Frames: Here's How399 views * HTML Body Tag: Master The Most Important HTML Element Now390 views * <title> HTML Tag374 views * <meta> HTML Tag371 views HTML.com © 2015-2023 Sitemap | Privacy | Contact We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok