Assalam-U-Alikum Comment.If we are using the CSS in

Topic: Other Technology
Sample donated:
Last updated: August 21, 2019

Assalam-U-Alikum Guys,Welcome again, Today we learn about Comment in HTML.

Basically adding Comments will increase the Readability of our Code or programming. Let suppose you check your code after along period of time, at that you can’t properly understand it if you add proper Comments in your source code during coding, that enable understanding about code even after passing many years. Now lets Start,IntroductionThe HTML Comment element is basically used to add the comments in an HTML document. Means comment elements make the content as disable code in a Web page, which is not take as part of code. Basically  purpose of Comments is readable explanation or annotation in the HTML code. The HTML comment elements begin with .

Don't use plagiarized sources.
Get Your Custom Essay on "Assalam-U-Alikum Comment.If we are using the CSS in..."
For You For Only $13.90/page!

Get custom paper

The HTML comment elements are not displayed in the web browser. For example:————————————————————————————————————————————————————————————————————————————Multi-line CommentsIn HTML, using comment elements you can also comments multiple lines text of a HTML page. Comment multiple line text must Begin with  tag and place all text that treat as comment in this tag.HTML comment can span multiple line in you HTML document.Informative text comments when you explain to the code.For Example:——————————————————————————————————————          This is a multiline comment          It can span through as many as lines you like      –>    ——————————————————————————————————————Or——————————————————————————————————————        

Welcome in HTML Tutorial.

       ——————————————————————————————————————Conditional CommentsHTML conditional comments are nothing but exactly same like simple comment element in HTML that will be used by only Internet Explorer.

Conditional comments only work in IE.Comments between  and .A conditional comment block that is ignored by down-level browsers.Comment Tag ()HTML comment element is used to insert comment in the source code of HTML. Comment Tag is supported by only few browsers.It start with Tag and end with Tag.

For Example:         IE is not supported the HTML comment                   tag.    Some more things :If we use JavaScript in our HTML page. then “//” two Slashes in front of Text that need to make Comment.If we are using the CSS in HTML page then “//” for single line Comment and /*…content….*/ is used for multi-line Commenting.Thank you all for paying attention.Good Bye (Allah Hafiz)Tutor : Asad Saleem

Choose your subject


I'm Jessica!

Don't know how to start your paper? Worry no more! Get professional writing assistance from me.

Click here