Q1. Insert an image in a Web page. Further, apply the border to the image and provide alternate text to it. Now, link the image in the Web page to another document.

Q2. What is the difference between internal and external linking?

Q3. What do you understand by a table? Which tag is used to create a table in HTML?

Q4. Create a Web page that contains some text. Now, link the text with another Web page. In addition, ensure that when you move the mouse pointer over the hyperlinked text, the name and information related to the hyperlink Web page is displayed.

Q5. What is the difference between an ordered and unordered list?

Q6. Write the HTML code to insert a table that has three columns and four rows.

Q7. What is the purpose of using the CELLPADDING and CELLSPACING attributes in a table?

Q8. What is the difference between the ROWSPAN and COLSPAN attributes?

Q9. Write the HTML code to insert an image in a Web page and align it to the right of the Web page.

Q10. Define the VALIGN attribute in HTML with an example.

Q11. Write the HTML code to generate the following output:

2 3
4 5 6
7 8 9 10

Q12. Write the HTML code to generate the following output.

The following are the main parts of a computer:

Q13. Define the <THEAD>, <TBODY>, and <TFOOT> tags with respect to a table.

Q14. Write the HTML code to create a table with six rows and three columns. In the table, two header rows have the pink color, two table body rows have the orange color, and the last two footer rows have the red color. Insert some data in the table.

Q15. Explain the difference between the CELLSPACING and CELLPADDING attributes of the <TABLE> tag with the help of an example.

Q16. What is the function of the SUMMARY attribute?

Q17. Distinguish between the FRAME and RULES attributes of the <TABLE> tag.

Q18. How many <THREAD> tags can be used while creating table in an HTML document?

Q19. Name the attributes that are used to do the following in HTML:

  1. Merge two or more rows.
  2. Change the background color of the cells in a table.
  3. Vertically align cell content.
  4. Merge two or more columns.