[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
HTMLSPEC-COMMENTS
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-COMMENTS
HTML Comments
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> <!-- Start --> How could I possibly Comment? <!-- End --> </body> </html>
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
