![]() |
How do you insert a comment in html?
How do you insert a comment in html?
|
Notice that there is an exclamation point (!) in the opening tag, but not in the closing tag. Comments are not displayed by the browser, but they can help document your HTML source code. Comments help you and others understand your code and increases code readability.
This is a valid comment goes here. Here given comment is a valid comment and will be wiped off by the browser. Document content goes here..... Thanks |
1.Insert a single-line comment. Comments are designated by the tags 2.Create a multiline comment.
3.Use the comment function to quickly disable code. 4.Use the comment function to hide scripts on unsupported browsers. |
Notice that there is an exclamation point (!) in the opening tag, but not in the closing tag.
|
All times are GMT -7. The time now is 03:49 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.