Checkpoint 1

Q1. Complete the HTML Code

<html>
<body>
<h1>This is a heading</
>
</html>

Q2. What is wrong with this code?

<p>
  <h1>I am batman</h1>
  <img src="/batman.png" class="image" crossorigin="anonymous">
</p>
<ul>
  <li>List</li>
  <li>
    <span>Another List</span>
  </li>
</ul>

Q3. Do these two codes produce the same result?

<span>
  <i>
    <b>I love sushi</b>
  </i>
</span>

and

<b>
  <i>I love sushi</i>
</b>

Q4. Add a paragraph tag that has an img tag pointing to /example.png

Q5. Add a form tag with an input tag of type text inside.

Q6. Add a label for the input.

<form>
Label</label>
<input id="input" type="text" />
</form>

 

Last edited on 31/03/2024