CBSE Class 10 Computer Applications: HTML Tables, practice questions & solutions
Free CBSE Class 10 Computer Applications practice questions on HTML Tables, with step-by-step solutions. This set has 31 questions (1-mark, 2-mark, 3-mark, 4-mark) modelled on the board blueprint, MCQs, assertion-reason and subjective. Practise them untimed or add them to a full mock test.
Practise this topic free Add to a mock test
What you'll practise
This set has 31 HTML Tables questions for CBSE Class 10 Computer Applications, appearing as 1-mark, 2-mark, 3-mark, 4-mark questions across Section A, Section B, Section C, Section E. Examples include:
- (a) Match each HTML tag with its correct attribute: Tag Attribute <a border <img bgcolor <table…
- State whether the following statements are True or False : I) <br is a container tag. II) The c…
- Write suitable HTML statements to display the following text on a webpage: I) H₂SO₄ II) 10³ III…
- Which of the following is a valid attribute of the <table tag?…
- A) A travel website homepage shows two images saved as FLIGHTS.JPG and HOTELS.JPG . On clicking…
- A) Write the HTML code to design the web page shown below. You may write the code for any four …
HTML Tables practice questions
| Tag | Attribute |
|---|---|
<a> | border |
<img> | bgcolor |
<table> | href |
<body> | src |
OR
(b) Differentiate between the
cellpadding and cellspacing attributes of the <table> tag. Write one HTML statement showing the use of each.Show answer & solution
<a> → href; <img> → src; <table> → border; <body> → bgcolor. *(½ each)* OR (b)
cellpadding = space between cell content and cell border (inside the cell); cellspacing = space between adjacent cells. <table cellpadding="10"> and <table cellspacing="10">. *(1 + 1)*I)
<br> is a container tag.II) The
colspan attribute makes a cell span multiple columns.III) HTTP is more secure than HTTPS.
IV)
<h1> produces the largest heading.Show answer & solution
I) H₂SO₄ II) 10³ III) (x+y)²
Show answer & solution
H<sub>2</sub>SO<sub>4</sub> II) 10<sup>3</sup> III) (x+y)<sup>2</sup><table> tag?- A
color - B
border - C
size - D
face
Show answer & solution
borderOR
B) Write the HTML code to create the following nested list:
> 1. Fruits
> - Apple
> - Mango
> 2. Vegetables
> - Potato
> - Onion
Show answer & solution
html
<a href="FLIGHTS.HTML"><img src="FLIGHTS.JPG" width="200" height="150"></a>
<a href="HOTELS.HTML"><img src="HOTELS.JPG" width="200" height="150"></a>OR B)
html
<ol>
<li>Fruits
<ul><li>Apple</li><li>Mango</li></ul>
</li>
<li>Vegetables
<ul><li>Potato</li><li>Onion</li></ul>
</li>
</ol>> Science Club
> *(image: club.png)*
> We welcome all curious minds to join us!
> Our activities:
> - Robotics Workshop
> - Astronomy Night
> - Science Quiz
> Queries: help@scienceclub.com
Specifications:
1. The background colour of the page should be yellow and the text should be blue.
2. The heading Science Club should be a first-level heading.
3. The image named club.png should be placed on the page.
4. The activities should be written using an unordered list.
5. The font size for the paragraph should be 4 and the font face Arial.
6. The bottom line help@scienceclub.com should be a link that opens the user's default mail client.
OR
B) Write the HTML code to design the table shown below *(table border = 1)*:
| GAME | PLAYERS | |
|---|---|---|
| SPORTS | Cricket | 11 |
| Hockey | 11 | |
| Chess | 1 |
*(The cell "SPORTS" spans all three rows.)*
Show answer & solution
html
<html><head><title>Science Club</title></head>
<body bgcolor="yellow" text="blue">
<h1>Science Club</h1>
<img src="club.png">
<p><font size="4" face="Arial">We welcome all curious minds to join us!</font></p>
Our activities:
<ul>
<li>Robotics Workshop</li>
<li>Astronomy Night</li>
<li>Science Quiz</li>
</ul>
<a href="mailto:help@scienceclub.com">help@scienceclub.com</a>
</body></html>*(Award 1 mark for each of any four specs coded correctly: bgcolor/text;
<h1>; <img src>; <ul>; font size/face; mailto link.)*OR B) *(4 marks, structure;
<table border>; rowspan; rows)*html
<table border="1">
<tr><td rowspan="3"><b>SPORTS</b></td><td>Cricket</td><td>11</td></tr>
<tr><td>Hockey</td><td>11</td></tr>
<tr><td>Chess</td><td>1</td></tr>
</table>*(Header row
<th>GAME</th><th>PLAYERS</th> may also be added above the first data row.)*- A
rowspan - B
colspan - C
merge - D
span
Show answer & solution
colspan<th> tag defines a table data cell. R: <th> text appears bold and centred by default.Show answer & solution
<th> is a *header* cell not data; R true, <th> is bold & centred by default)<td> defines a table row. II) SMTP is used to send email. III) <b> is an empty tag. IV) alt is an attribute of the <img> tag.Show answer & solution
<b> is a container tag) IV) True, *½ each.*<table> tag? Write HTML code to create one row with two data cells.Show answer & solution
<table> arranges data in rows and columns. *(1)* <tr><td>A</td><td>B</td></tr> *(1).*<a>→color, <font>→href, <table>→src, <img>→border. OR B) Write any two differences between a static and a dynamic web page.Show answer & solution
<a>→href; <font>→color; <table>→border; <img>→src. *(½ each)* OR B) Any two: static = same fixed content for all users / written in plain HTML; dynamic = content changes per user/input / uses server-side scripting/database. *(1 each)*Show answer & solution
CO<sub>2</sub> II) 5<sup>2</sup> III) (a-b)<sup>2</sup>Get more HTML Tables questions in the app →
How to revise HTML Tables
Attempt each question before opening the solution, note the marking-scheme keywords for written answers, and re-attempt anything you got wrong a day later. Then add HTML Tables to a full timed mock to practise it under exam conditions.
More CBSE Class 10 Computer Applications
Keep going: sit the Computer Applications mock test, skim the Computer Applications revision sheet, or browse all Computer Applications topics.
Related CBSE Class 10 subjects
Frequently asked questions
How many marks is HTML Tables in CBSE Class 10 Computer Applications?
In the practice set, HTML Tables appears as 1-mark, 2-mark, 3-mark, 4-mark questions across Sections Section A, Section B, Section C, Section E.
Where can I get free HTML Tables questions with answers?
PracticeArea offers 31 free HTML Tables questions for CBSE Class 10 Computer Applications, each with the answer and a worked solution, on this page and in the practice app.
Are these HTML Tables questions the real board questions?
No, they are original questions modelled on the CBSE blueprint and marking scheme, so you can practise the format repeatedly.