How to comment in html code
How To Add Comment In Html
Comment Tag
Importance of HTML Comment tag
1] comment tag are some extra information or code written in your code give extra explanation about the code and not visible to the user.
2] comment tag is the not displayed in the any browsers. comment tag use to the programmer.
3] programmer you can use comments tag to explain your code, help you code is edit and change the source code .comment of any code easy to understand in the programmer.
4] comment tag use to notes to remind yourself the build process. you could explain the intended functionality of a section of code for another Multiple developer or your future self ensures quick and efficient understanding of complex codes.
Syntax:-
<!--
tag before the code and a after the code
-->
HTML comments tag :-
1] single line comments in HTML
2] Multi-Line Comments in HTML
1] single line comments in HTML :-
HTML code also comments single lines at a time. the single line comment can use
one line description /information about the code .
Syntax
<!-- There is some text related to your program -->
<h1>heading name program</h1>
<!-- <h2> topic name Webdesigningtheory.blogspot.com</h2>-->
2] Multi-Line Comments in HTML
The HTML code we can also comments multiple lines at a time code write in the program. multiline comment use any description multiple line code to debug etc.
Syntax :-
<!--
your code is comment
write information
in your project code
Webdesigningtheory.blogspot.com
-->
<h2>command to html</h2>
<!-- <h2>extra Information to related topic
project name
information
home page, contact use,create
website Webdesigningtheory.blogspot.com -->
Post a Comment