Ctrl + 0. Ctrl + A. 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. comment out HTML lines of code, one at a time, to search for errors: Use the HTML comment tag to make a comment out of the "This is a comment" text. If you go into Preferences->Key Bindings - Default, you can find all the shortcuts, below are the lines for commenting. Those comments are informational only, just as HTML comments are (although the syntax is different). And to round it out, the mapping for uncommenting is Ctrl+K, Ctrl+U. Adding a CSS comment is quite easy. Comments are not displayed in the browser-->, W3Schools is optimized for learning and training. The comment tag does not support any event attributes. 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. Responsive web design basics; What's new in Dreamweaver; Web development using Dreamweaver - An Overview; Dreamweaver / Common Questions Comment out a line or block of code. Convert selection to uppercase. Add/remove line or block comment.