Sololearn HTML course Challenges answers

Here are all the questions and answers that I hope will help you learn HTML course.

Other course answers

Sololearn HTML course Overview answers
Sololearn HTML course HTML Basics answers
Sololearn HTML course HTML5 answers

25.1 Lesson

Challenge 1

Question:

Is width="100" and width="100%" the same?

Answer:

No

Question:

Fill in the blanks to create an h1 heading containing the text "My first website" followed by an h2 tag containing "Sample Page":

Answer:

<html>
  <body>
    <h1>My First Website</h1>
    <h2>Sample Page</h2>
  </body>
</html>

Question:

Fill in the blanks to make the paragraph bold using the tag:

Answer:

<h1>Some heading</h1>
<p><b>I am learning HTML</b></p>

Question:

During page creation, which tag adds a page name that will show in the title bar of the user's Internet browser?

Answer:

<title>

Question:

Fill in the blanks to make the text "First paragraph" a comment:

Answer:

<html>
<body>
  <!-- First paragraph -->
  <p>Welcome to my webpage</p>
</body>
</html>

Question:

Fill in the blanks to display the image, "tree.jpg", at a 200px height and a 500px width:

Answer:

<img src="tree.jpg" height="200px" alt="" width="500px" />

Question:

Fill in the blanks to create an ordered list:

Answer:

<h4>An Ordered List: </h4>
<ol>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk </li>
</ol>

Question:

Fill in the blanks and align the table to the center of the page:

Answer:

<html>
<head>
  <title>My Page</title>
</head>
<body>
  <table align="center">
    <tr>
      <td>
        <ul>
          <li>item</li>
        </ul>
      </td>
    </tr>
  </table>
</body>
</html>

Question:

Fill in the blanks so that the website www.sololearn.com opens upon clicking the image:

Answer:

<a href="http://www.sololearn.com">
  <img src="1.jpg" alt="" />
</a>