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 (
For Example:
IE is