![]() |
#1 |
Registered User
Join Date: Jun 2017
Posts: 71
|
How do you insert a comment in html?
How do you insert a comment in html?
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Jul 2017
Posts: 258
|
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. <!DOCTYPE html> <html> <head> <title>Valid Comment Example</title> </head> <body> <!-- This is valid comment --> <p>Document content goes here.....</p> </body> </html> Thanks
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Jun 2017
Posts: 77
|
1.Insert a single-line comment. Comments are designated by the tags <!-- and --> 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.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#4 |
Registered User
Join Date: May 2016
Posts: 551
|
Notice that there is an exclamation point (!) in the opening tag, but not in the closing tag.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML (Hypertext Markup Language) | ehsanagar | HTML / DHTML | 3 | 10-06-2016 02:15 AM |
How to use the comment tags in web page's HTML source code? | jamesranatte | Search Engine Optimization | 0 | 07-02-2012 03:06 PM |
HTML 5 and HTML 4 | johnhedberg3 | HTML / DHTML | 3 | 06-16-2012 04:08 AM |
Differences with HTML 4 and HTML 5 | danielnelson | HTML / DHTML | 11 | 06-10-2012 09:21 PM |
1.Basic distinguishing features of HTML 4 and HTML 5 | rooseveltjobs | HTML / DHTML | 0 | 04-12-2012 10:00 PM |