class 7 chapter 8 b

 

B. Answer the following questions

1. How are hyperlinks useful in organising the webpages of a website?

Hyperlinks connect one webpage to another. They help users navigate easily between different pages of a website and find information quickly.

2. Giving distinct examples, explain how rowspan and colspan attributes are used.

  • Rowspan: It is used to merge a cell across multiple rows.
    Example: rowspan="2" merges a cell vertically across two rows.

  • Colspan: It is used to merge a cell across multiple columns.
    Example: colspan="2" merges two cells horizontally.

Answers

A. Choose the correct answer

1. Which of the following is the correct use of HREF attribute of <A> tag?
✅ c. href="www.example.com/resources/video1.mp4"

2. Which of the following is the correct way to hyperlink and image?
✅ c. <a href="car.html"><img src="car.jpg"></a>

3. Which of the following tags refer to the data in an HTML table?
✅ b. <td>

4. Attribute colspan is used to ______.
✅ d. Merge cells of adjacent columns

5. The space between the cells of a table is defined by which attribute?
✅ a. Cellspacing

B. Fill in the blanks

Word bank: <td>, Merge, <tr>, Internal, <th>, New tab, External

1. External hyperlink refers to an online resource to another website.

2. Internal hyperlink refers to a resource in the same website.

3. The value _blank in the target attribute opens a link in a New tab.

4. The structure of a table is defined by the help of <table>, <tr> and <td> tags.

5. Rowspan and colspan Merge the cells in a table.

C. True or False

1. To show your class timetable on a webpage, the best structure to use is a table.
✅ True

2. The colspan attribute allows a cell to span over multiple rows.
❌ False — rowspan is used to span multiple rows.

3. The <table> tag is used to create hyperlinks.
❌ False — The <a> tag is used to create hyperlinks.

If you want, I can also prepare these questions and answers in a Class 6 easy-to-study format.

Answers

A. Choose the correct answer

1. Which of the following is the correct use of HREF attribute of <A> tag?
✅ c. href="www.example.com/resources/video1.mp4"

2. Which of the following is the correct way to hyperlink and image?
✅ c. <a href="car.html"><img src="car.jpg"></a>

3. Which of the following tags refer to the data in an HTML table?
✅ b. <td>

4. Attribute colspan is used to ______.
✅ d. Merge cells of adjacent columns

5. The space between the cells of a table is defined by which attribute?
✅ a. Cellspacing

B. Fill in the blanks

Word bank: <td>, Merge, <tr>, Internal, <th>, New tab, External

1. External hyperlink refers to an online resource to another website.

2. Internal hyperlink refers to a resource in the same website.

3. The value _blank in the target attribute opens a link in a New tab.

4. The structure of a table is defined by the help of <table>, <tr> and <td> tags.

5. Rowspan and colspan Merge the cells in a table.

C. True or False

1. To show your class timetable on a webpage, the best structure to use is a table.
✅ True

2. The colspan attribute allows a cell to span over multiple rows.
❌ False — rowspan is used to span multiple rows.

3. The <table> tag is used to create hyperlinks.
❌ False — The <a> tag is used to create hyperlinks.

If you want, I can also prepare these questions and answers in a Class 6 easy-to-study format.

Answers

A. Choose the correct answer

1. Which of the following is the correct use of HREF attribute of <A> tag?
✅ c. href="www.example.com/resources/video1.mp4"

2. Which of the following is the correct way to hyperlink and image?
✅ c. <a href="car.html"><img src="car.jpg"></a>

3. Which of the following tags refer to the data in an HTML table?
✅ b. <td>

4. Attribute colspan is used to ______.
✅ d. Merge cells of adjacent columns

5. The space between the cells of a table is defined by which attribute?
✅ a. Cellspacing

B. Fill in the blanks

Word bank: <td>, Merge, <tr>, Internal, <th>, New tab, External

1. External hyperlink refers to an online resource to another website.

2. Internal hyperlink refers to a resource in the same website.

3. The value _blank in the target attribute opens a link in a New tab.

4. The structure of a table is defined by the help of <table>, <tr> and <td> tags.

5. Rowspan and colspan Merge the cells in a table.

C. True or False

1. To show your class timetable on a webpage, the best structure to use is a table.
✅ True

2. The colspan attribute allows a cell to span over multiple rows.
❌ False — rowspan is used to span multiple rows.

3. The <table> tag is used to create hyperlinks.
❌ False — The <a> tag is used to create hyperlinks.

If you want, I can also prepare these questions and answers in a Class 6 easy-to-study format.

3. How will you align a table and set its dimensions?

We can use the align attribute to align a table to the left, right or centre. The width and height attributes are used to set the dimensions of a table.

4. How do bgcolor and background attributes of an HTML table work?

  • bgcolor: It is used to set the background colour of a table.

  • background: It is used to set a background image for a table.

5. Briefly discuss the difference between external and internal hyperlinks with small examples each.

  • External hyperlink: It links a webpage to another website.

    Example:

    <a href="https://www.google.com">Google</a>
  • Internal hyperlink: It links one webpage to another webpage within the same website.

    Example:

    <a href="about.html">About Us</a>

These are simple, Class 6-level answers suitable for writing in the notebook.

Comments

Popular posts from this blog

CLASS 3 REVISION

CLASS V