Comment tags <!-- and --> are used to insert comments in HTML.
HTML Comment Tags
You can add comments to your HTML source by using the following syntax:
<!-- Write your comments here -->
| Note: There is an exclamation point (!) in the opening tag, but not in the closing tag. |
With comments you can place notifications and reminders in your HTML:
Example
<!-- This is a comment -->
<p>This is a paragraph.</p>
<!-- Remember to add more information here -->
<p>This is a paragraph.</p>
<!-- Remember to add more information here -->
Try it yourself »
Example
<!-- Do not display this at the moment
<img border="0" src="/images/pulpit.jpg" alt="Pulpit rock" width="304" height="228">
-->
<img border="0" src="/images/pulpit.jpg" alt="Pulpit rock" width="304" height="228">
-->
Try it yourself »
Conditional Comments
You might stumble upon conditional comments in HTML:
<!--[if IE 8]>
.... some HTML here ....
<![endif]-->
.... some HTML here ....
<![endif]-->
Software Program Tags
HTML comments tags can also be generated by various HTML software programs.For example <!--webbot bot--> tags wrapped inside HTML comments by FrontPage and Expression Web.
As a rule, let these tags stay, to help support the software that created them.
All css and css3 for css tools and css3 tools with css code generator and css3 code generator. All css generator and css3 generator for css button gerator and css3 button generator, css gradient generator and css3 gradient generator, css menu maker and css menu maker, css button maker and css3 button maker other help css editor and css3 editor.
No comments:
Post a Comment