[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
HTMLSPEC-COMMENT
Used for documentation purposes within a web document. Documentation refers to statements in HTML source code that do not affect the code itself used for describing the purpose of particular code segments.
Attributes
None
Code Tip
Placing comments in your code is vital when working with complex code containing many different elements. It helps you and other people understand what certain code segments are accomplishing and will make updating extremely easier. It is good programming practice to use adequate comments in HTML code, and it is a good habit to get into if you decide to learn other computer programming languages.
Live Example
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
HTMLSPEC-COMMENT
Comment
UsageUsed for documentation purposes within a web document. Documentation refers to statements in HTML source code that do not affect the code itself used for describing the purpose of particular code segments.
Attributes
None
Code Tip
Placing comments in your code is vital when working with complex code containing many different elements. It helps you and other people understand what certain code segments are accomplishing and will make updating extremely easier. It is good programming practice to use adequate comments in HTML code, and it is a good habit to get into if you decide to learn other computer programming languages.
Live Example
<html> <head><title>Simple Comment Example></title></head> <body> <comment>BEGIN MAIN CONTENT</comment> . . . <comment>END MAIN CONTENT</comment> </body> </html>
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
