Comments

Comments in HTML are essentially notes for developers. A comment starts with <!-- and ends with -->. The browser ignores everything in between, so comments are not visible on the web page. They are usually used to describe the code:

<!-- This is the section where the user registers -->
<div>
	...
</div>

Another use of comments is for testing code: we can temporarily hide an element by putting it inside a comment.

<!-- <p>Hidden code</p> -->

Instructions

Above the div element with the Breeds heading, write a comment with the text The most common breeds.

Start programming for free

By signing up, you agree to the Terms of Service and Privacy Policy.

Or sign up with:

7/8