HTML5 comment - Exercises, Practice, Solution

[An editor is available at the bottom of the page to write and execute scripts. You can either solve the questions with the following editor or view the solutions by clicking on the question.]

1. Comment the second paragraph of the following HTML document?

HTML Code :

<!DOCTYPE html>
<meta charset="utf-8">
<title>JS Bin</title>
  <p>HTML Tutorial</p>
   <!--<p>Python Tutorial</p>-->
   <p>PHP Tutorial</p>

Expected Output:

HTML Tutorial

PHP Tutorial

Click me to see the solution.

See the Pen comment by w3resource (@w3resource) on CodePen.

Previous: HTML5 Basic
Next: Create a hyperlink with in a document.

What is the difficulty level of this exercise?

Test your Programming skills with w3resource's quiz.