When are comments used in html?



When are comments used in html?..

Answer / Sharad Kumar Sharma

Comments are used in HTML to make the code more readable and easier to understand by developers. They do not affect the rendering of the webpage. Comments start with <!-- and end with -->. For example: `<!-- This is a comment -->`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

Can I have two or more submit buttons in the same form?

1 Answers  


What are deprecated tags?

1 Answers  


How are tags migrated from html4 to html5?

1 Answers  


What is tables in ms word?

1 Answers  


What is an image tag?

1 Answers  


Difference between float:left and display:inline.

1 Answers  


What are two types of html tags?

1 Answers  


What is html compiler?

1 Answers  


What is the difference between innertext and textcontent?

1 Answers  


What happens if there is no text between the tags? Does this affect the display of the html file?

1 Answers  


Does a hyperlink apply only to text?

1 Answers  


How do I use nbsp?

1 Answers  


Categories