Uncomment HTML please help me

Tell us what’s happening:

Your code so far


<!--
<!--
    <h1>Hello World</h1>
    -->

<,<!--
    <h2>CatPhotoApp</h2>
    -->

<!--
    <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
    -->
-->
<h6
h
<h1>Hello world</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; TECNO WX3 Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36.

1 Like

Here is how to comment out HTML code:

<p>Here is a paragraph element</p>
<p>Here is a paragraph element</p>

<!-- 
<p>Here is a paragraph element</p>
<p>Here is a paragraph element</p>
-->

As you can see, it stretches across multiple lines and only needs one opening and closing tag.

I can also comment like this:

<!-- <p>Simple One liner</p> -->

Hope this helps!

-MN

1 Like