0% found this document useful (0 votes)
8 views14 pages

PR ICT 5 CH 4

The document outlines the relative importance of various HTML topics for CQ and MCQ assessments, detailing the frequency of questions on each topic. It includes multiple-choice questions (MCQs) related to HTML coding, attributes, and syntax, along with their answers. Additionally, it provides explanatory solutions for some of the MCQ questions and knowledge-based questions about HTML concepts.

Uploaded by

nuremujassum1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views14 pages

PR ICT 5 CH 4

The document outlines the relative importance of various HTML topics for CQ and MCQ assessments, detailing the frequency of questions on each topic. It includes multiple-choice questions (MCQs) related to HTML coding, attributes, and syntax, along with their answers. Additionally, it provides explanatory solutions for some of the MCQ questions and knowledge-based questions about HTML concepts.

Uploaded by

nuremujassum1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Lecture-05

 Relative Importance of the Topics Discussed in this Lecture for CQ (a, b) & MCQ:
Times Questions CQ Knowledge-based
Importance Topic Topic Name Appeared and Comprehension- MCQ
a b MCQ based (a & b)
DB’24, 23, 19, 18; RB’19, 18,
HTML Code,
17; Ctg.B’24, 23, 19, 18, 17,
List,
DB’17; RB’23; CB’24; 16; SB’23, 18, 17; MB’24, 23,
Hyperlinks,
 T-03 5 4 38 BB’23, 19; Din.B’23, 18; CB’24,23, 19, 18;
Adding
16, 19; SB’19 BB’24,23, 19, 18, 17, 16;
Image, Table,
JB’24, 23, 18, 16; Din.B’24,
and Form
23, 19, 18, 16

MCQ Questions

01. The essential tags used for creating lists are- [DB’24] 07. In order to display the Pen.jpg picture as a Link Text
(i) <o1> (ii) <ul> (iii) <li> in the place of HSC Exam, which of the following
Which of the following is correct? code is to be used? [JB’24]
(a) i, ii (b) i, iii (c) ii, iii (d) i, ii, iii (a) <a href = “www.Pen.Com”>Pen.Jpg</a>
02. What is the result of the HTML code [DB’24] (b) <a href =“www.Pen.Com”> img src = “Pen.Jpg ” </a>
<p> a <sup> 2 </sup> b <sub> 2 </sub> </p>? (c) < a href = “www.Pen.Com”> <img src = “Pen.Jpg”> </a>
(a) a2 b2 (b) a2 b2 (c) a 2 b2 (d) a 2 b2 (d) <a href =“www.Pen.Com” img src = “Pen.Jpg>”</a>
03. To create rows in the body of a table, the tag used is- 08. Which of the following HTML codes is correct for
[RB’24] keeping the table data 50px away from the border of
the table cell? [JB’24]
(a) th (b) tt (c) tr (d) td
(a) <table border = “1” cellpadding = “50”>
Answer the next question according to the stem
(b) <table border = “1” cellspacing = “50”>
below:
(c) <table border = “0” cellspacing= “50”>
Rafiq creates a website in his ICT lab class by writing
(d) <table border = 1 cellpadding = 50>
HTML code to crcate a table. When he displayed it in the
Answer the next question according to the stem below:
browser, the table lines were not visible. Rafiq thought
< ul type=“circle”>
about publishing his webpage.
< li > ict </ li >
04. What is the reason of the lines not being visible in the < /ul >
stem? [Ctg.B’24] 09. What will be output of the stem? [SB, Din.B’24]
(a) align = “0” (b) border = “0” (a) ict (b) ict (c) ict (d) ict
(c) border = “No” (d) cation = “0”
Answer the next question according to the stem below:
05. What is called the link between two HTML
Index/
documents? [CB’24]
(a) Hyperlink (b) Attribute 1. HSC
(c) Connection (d) Imaging 2. HSC
Answer the next two questions according to the stem 3. HSC
below: 4. HSC
<P> <U><del> HSC Exam </del></U></P> 10. What is the syntax for the text in line 3 of the stem?
06. Which is the output of the stem? [JB’24] [MB’24]
(a) HSC Exam (b) HSC Exam (a) < h4 > HSC < /h4 > (b) <h2> HSC < /h2 >
(c) HSC Exam (d) HSCExam (c) < h3 > HSC </ h3 > (d) <h1 > HSC </h1 >

MCQ Answer

01. d 02. b 03. c 04. b 05. a 06. c 07. c 08. a 09. d 10. c

13
Answer the next two questions according to the What is the output of the stimulus html code? [RB’17]
following stem: AB AC AB AB
(a) C D (b) B D (c) C D (d)
Hasi has learned HTML. She is currently learning how CD
to add images to a webpage. Answer the next question according to the stem below:
11. Which tag is Hasi currently learning to use on a
An image named pic.jpg of size 300 × 300 is attached
webpage?
(a) <img src = “img.png”> [MB’24] to page 4 of a web site. But the problem is that it is
(b) <ahref = “img.png”> not possible to go from one page of the site to another
(c) <img border = “img.png”> page.
(d) <img = “img.png”> 20. The applicable HTML code for page number 4 is-
12. When Hasi adds an image to the webpage- [MB’24] [BB’17]
(i) The amount of text can be reduced (a) <img src “pic.jpg” height = 300
(ii) The page will be visually appealing to the user
width = 300 >
(iii) Images will download quickly
(b) <img src “pic.jpg” H = “300” W = “300”>
Which of the following is correct?
(a) i, ii (b) i, iii (c) ii, iii (d) i, ii, iii (c) <img src=“pic.jpg” height=ꞌꞌ300ꞌꞌ
Answer the next two questions according to the stem width=ꞌꞌ300ꞌꞌ>
below: (d) <img src pic.jpg height = 300, width
<span style="color:red"> Text </span> = 300>
13. What is the element content of stem? [SB, MB’23]
21. What kind of instruction is required to add a 640×480-
(a) style (b) color:red (c) span (d) text
14. What is the attribute of the stem? [SB, MB’23] pixel image named 'bd.jpeg' inside a webpage?
(a) style (b) color:red (c) span (d) text (a) width = "640" height = "480"
15. Which attribute is used to display a text instead of an (b) Pixlw = "640" pixel = "4.80"
image if the browser fails to load the image for some (c) w = "640" h = "480"
reason? [SB’23; Ctg.B’19] (d) PixWid = "640" PixHigh = "480"
(a) src (b) title (c) alt (d) align
22. <a href= "http://www.gnmc.edu.bd">
16. Attributes used with <td> tag- [Ctg.B’19]
<img src= "Image.jpg" width = "50%"
(i) align (ii) face (iii) colspan
Which of the following is correct? Height = "60%"></a>
(a) i, ii (b) i, iii (c) ii, iii (d) i, ii, iii How many attributes are used in the following HTML
17. What color is indicate by RGB (255, 255, 255)? snippet?
[Ctg.B’19] (a) 2 (b 3 (c) 4 (d) 6
(a) Red (b) Green (c) White (d) Blue 23. What is the color code for black in HTML?
Answer the next question according to the stem below: (a) #FFFFFF (b) #000000
< html >
(c) #0FFFF0 (d) #FF00FF
< body >
< font color = “red” > HSC Exam </font> 24. How many bytes an IPV6 address has?
< /body > (a) 16 (b) 17 (c) 18 (d) 19
< html > 25. <body>
18. In the stem the equivalent hexadecimal code for the <p> <i>My page</i></p>
color used- [SB’19] <a herf = "pic.html">picture</a>
(a) # FF 0000 (b) # 00 FF 00 <body>
(c) # 0000 FF (d) # FFF 000
What type of tags are used in the following HTML
19. Answer the next question according to the stem below:
snippet?
<table>
<tr><td>A</td><td>B</td></tr> (i) Table (ii) Hyperlink (iii) Formatting
<tr><td>C</td><td>D</td></tr> Which of the following is correct?
</table> (a) i, ii (b) ii, iii (c) i, iii (d) i, ii, iii

14
26. According to rules of HTML5, which attribute is used 29. If Udvash is to be written as Udvash (bold), what is to
to change the background color of any text? be done-
(a) bg color (b) background-color
(i) <th>----</th> instead of <td>-----</td> is to be used
(c) style (d) font
(ii) Writing within <b>-----</b> tag
27. If <a href="----">-----</a> tag is used-
(i) By default, the text will be blue and underlined (iii) Writing within <strong>-----</strong> tag
(ii) Can go to another page Which of the following is correct?
(iii) Can jump from one part to another in the same (a) i, ii (b) ii, iii
webpage
(c) i, iii (d) i, ii, iii
Which of the following is correct?
30. A picture is added to a website. If the picture is not
(a) i, ii (b) ii, iii (c) i, iii (d) i, ii, iii
28. Output of the code- loaded, the attribute that determines what message will
be shown in place of the picture is-
(a) (b)
(a) img (b) style
(c) (d) (c) alt (d) href

MCQ Answer

11. a 12. a 13. d 14. a 15. c 16. d 17. c 18. a 19. d 20. c
21. a 22. c 23. b 24. a 25. b 26. c 27. d 28. a 29. d 30. c

Explanatory Solutions of MCQ Questions

08. Soln: The cellpadding attribute is used to control the 26. Soln: According to HTML 4
distance between the cell border and the text within the
cell.
10. Soln: In deseeding order h1 > h2 > h3 > h4 > h5 > h6 But according to HTML 5,
element
13. Soln: ⏞
< span
⏟ style
⏟ = ⏟ "color: red" > Text
⏟ < /span
⏟ >
Opening Attribute Attribute element Closing
Value content
Tag Name Tag
27. Soln: Anchor tag is used for hyperlinking. If
16. N.B: In the HTML4 version, text color, Background hyperlinked content is clicked, we can go to another
Color, font name and size are customized using the page of the same website, or another part within the
attributes of color, bgcolor, face and size. But now same webpage ; or a completely different website can
(HTML5) color, background-color, font-family and be accessed.
font-size properties are used under the style attribute 28. Soln: If border attribute is not used, no border in the
respectively. table will be observed
18. N.B: In the HTML4 version, text color, Background 29. Soln:
Color, font name and size are customized using the
attributes of color, bgcolor, face and size. But now
(HTML5) color, background-color, font-family and
font-size properties are used under the style attribute
respectively.

15
CQ Knowledge-Based Questions (a) & Sample Answers

01. What is Hyperlink?[RB, SB’24; RB’23; BB, Din.B’19] 05. What is <hr>? [SB’19]
Answer: By clicking on a text, image, button or any Answer: < hr > is a tag used to create horizantal
other document on a webpage, the system of going lines.
directly to another specific part of that page or to 06. What is HTML Syntax? [DB’17]
another webpage is called a hyperlink. Answer: Programs are created using programming
02. What is called Attribute? [RB, Ctg.B, JB, CB’23] languages according to a set of rules. This rule is
Answer: An Attribute is used to give more detailed
called HTML Syntax.
instructions about the Element inside the Opening
07. What is homepage? [CB’16]
Tag.
Answer: The first page that appears when entering a
03. What is a search engine? [Ctg.B’23; CB’19]
website is called the homepage.
Answer: The specialized software that finds the link
08. What is CSS?
of the required webpage or the required information
subjected to the conditions of the user is called search Answer: CSS (Cascading Style Sheet). A cascading
engine. Eg: Google.com, Bing.com, Yahoo.com, Petal style sheet is a style sheet language used to describe
etc. the presentation of a document written in a markup
04. What is dynamic website? [SB, CB’23] language like HTML.
Answer: Websites whose data values can be changed 09. What is the full form of HTTP?
after web technology loading or launching the page are Answer: Full form of HTTP is Hyper Text Transfer
called dynamic websites. Protocol.

CQ Comprehension-Based Questions (b) & Sample Answers

01. What needs to be done to add Bangla text to a web 03. Explain <a> tag. [CB’24; Din.B’23]
page? Explain. [BB’24] Or
Answer: There are two methods to display Bangla text Hyperlink is an important element in web pages
on a webpage. today––Explain. [DB’17]
(i) Specify the name of the Bangla font in the face Answer: The importance of the <a> tag:

attribute of the <font> tag. For example: <font The tag used for the hyperlink is <a> (anchoring tag).
This is a container tag. Links are added using the href
face="SutonnyMJ">
(hypertext reference) attribute. href is the essential
(ii) Use any editor to write the desired text in
attribute of <a>.
Bangla, copy it, and then place it within the
By clicking on the Hyperlink added to a webpage, you
<font> tag. [In this case, the Bangla text will not
can easily go to another directed part of that page, or
be readable in English.]
another related webpage. As a result, adding footnotes,
02. Why is the ‘style’ attribute used? Explain. [JB’24]
adding references, increasing usability increases the
Answer: The ‘style’ attribute is used to add a acceptability of that website/webpage and makes it
stylesheet to a document. The <style> and </style> lively. So hyperlink is an important element on the
tags are used to include a stylesheet in a document. webpage at the present time. And this is so important
Although this is not used now, it will be needed for because the <a> tag is used for this.
CSS. The ‘type’ attribute is used with the <style> tag. Syntax: <a href ="url"> Hyperlink</a>

16
04. “HTML is not a case sensitive language”-Explain. 06. Describe the advantages of using HTML.
[RB, Ctg.B’23]
Answer: Some advantages of using Hyper Text
Answer: “HTML is not a case sensitive language” -
the saying is correct. Markup Language or HTML include:
Case sensitivity means that using uppercase letters  It is easily understandable and can create
instead of lowercase letters or lowercase letters instead
structures of any kind.
of uppercase letters will cause a difference in code
results. Tag, Attribute or Value can be written in any  It supports many features such as embedding
case in Capital or Small in any element in html videos, images, GIFs, animations, etc.
language. Ex: <strong> and <STRONG> are same and
both arec orrect.  It works on any platform, including Windows,
Means writing <stRonG> will do. macOS, and Linux.
05. Explain the mandatory attribute of hyperlink tag.
 It works on any platform, including Windows,
[SB’19]
Answer: The mandatory attribute of the hyperlink tag macOS, and Linux.
is href.  It supports many programming languages such as
Hyperlinks are placed by < a > HTML tag.
CSS, JavaScript, Ruby, PHP, Perl, etc.
‘href’. attributes are added to < a > tag.‘href’means
hyperlink Reference. It determines the destination of a  It is not case-sensitive, meaning the difference
link. In this case the syntax is:<a href='' www. google. between uppercase and lowercase letters in basic
com''>Google</a>. In this case href google
keywords does not affect the output of the code.
determines the address.

➢ Important Topics of this Lecture for CQ (c & d) Questions:

Times
Questions Board & Year the Questions Have Appeared
Importance Topic Topic Name
Appeared
c d CQ
HTML Code, List, DB’23, 19, 18; RB’24, 23, 19; Ctg.B’24, 23, 19;
 T-03 Hyperlinks, Adding 22 21 SB’23, 18; BB’24, 23; JB’24, 23, 19, 18;
Image, Table, and Form CB’24, 23, 19; Din.B’24, 23, 18; MB’24, 23

CQ Application & Higher Ability Based Questions (c & d)

01. [RB’24]

Fig-1: Web page 1 Fig-2: Web page 2


(c) Write HTML code to create a web page like Figure-1. 3
(d) Create a web page like Figure-2 of the stem, from which one can navigate to webpage-1. 4

17
02. Scenario-1 Scenario-2 [Ctg.B’24]

(c) Write the HTML code of scenario-1 of the stem. 3


(d) Write the HTML code for scenario-2 where clicking on 'Science' will open the website www.science.org in a new
tab. 4

03. [RB’23]

Fig-2
Fig-1
(c) Write the HTML code to display Figure-1. 3
(d) Write the HTML code to display Figure-2 on the web page. 4

04. [Din.B’23]

Scenario-1 Scenario-2
(c) Write the required HTML code for scenario-1. 3
(d) Is it possible to display the web page of Scenario-2? Provide your opinion with logic. 4

05. [RB’19]
WELCOME ICT LAB
WELCOME ICT LAB
A2B2 Book Book.jpg

Scenario-1 Scenario -2
(c) Write the HTML code for scenario-1 with the first line as the largest, the second line as the smallest heading and
the third line as a paragraph. 3
(d) Write the HTML code to create the table of scenario-2 were, on clicking on Book, the Book.com website will be
launched. 4

18
06. Read the stem and answer the following questions:
<!DOCTYPE html>
<html>
<head>
<title>XYZ Khatun: 123456789</title>
</head>
<body>
<p>
<img src="XYZ.jpg" height="300" width="400">
</p>
<h1>Name: XYZ Khatun</h1>
<h2>Father's Name: Md. Mujibur Rahman</h2>
<h3>Roll No: 123456789</h3>
<p>
<a href="My_test_result.html">My test exam result</a>
</p>
</body>
</html>
(c) Show that result will be obtained, when the codes described in the stem are run in a browser. 3
(d) Change the codes mentioned in stem in such a way that (1) clicking on the image will go to facebook.com, (2)
the text of the 1st heading will be red and the size will be 45px (3) the text Md. Mujibur of the 2nd heading is
blue, (8) clicking on the link ‘My test exam result’ will open on new tab in the browser. 4

07.

(c) Write down an HTML code in order to get a table alike provided in the stem. 3
(d) Redraw the table, if the rows are converted into columns and the columns are converted into rows. Afterwards,
write down an HTML Code to create that table you’ve drawn, so that someone can access to the link
cxpsc.edu.bd/class XII/late.html by clicking on the text “Newcomer.” 4

Sample Answers of CQ Application & Higher Ability Based Questions (c & d)

01.
(c) Answer: The HTML code for creating webpages like Figure-1 is as follows:
<!DOCTYPE html>
<html>
<body style="line-height:180%;">
<table border="2" cellspacing="0" cellpadding="4">
<tr>
<td style="border-right:0"><p style="margin-top:0;">
<b>
<u> Book List: </u>
</b>

19
<ul style="padding-left:1.3em; margin-top:-1em; margin-bottom:-1em;">
<li type="disc">Bangla</li>
<li type="square">English</li>
<li type="circle">ICT</li>
</ul>
</p></td>
<td style="border-left:0"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>
</table>
</body>
</html>
(d) Answer: The HTML code for creating a webpage according to the question's instructions is as follows:
<!DOCTYPE html>
<html>
<body style="line-height:185%;">
<table border="1" cellspacing="0" cellpadding="6">
<tr>
<td>
WELCOME TO ICT LAB
<br/>
H<sub>2</sub>SO<sub>4</sub>
<br/>
(<i>a</i> + <i>b</i>)<sup>2</sup> = <i>a</i><sup>2</sup> + 2<i>ab</i> + <i>b</i><sup>2</sup> <br/>
Go to <a href="Webpage 1.html" style="text-decoration:none;color:black;">Webpage 1</a>
</td>
</tr>
</table>
</body>
</html>
02.
(c) Answer: The HTML code of Scenario-1:
<!DOCTYPE html>
<html>
<body>
<table border="1" cellspacing="0" cellpadding="3" width="150px">
<caption style="text-align: left;"> &nbsp; &nbsp; Alphabet </caption>
<tr style="text-align: center;">
<td colspan="2">A</td> </tr>
<tr style="text-align: center;">
<td rowspan="2">B</td>
<td>C</td>
</tr>
<tr>
<td style="text-align: center;">D</td>
</tr>
</table>
</body>
</html>
20
(d) Answer: According to the instructions given in the question, the HTML code is written below:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-16" />
<title>Scenario-2</title>
</head>
<body>
<div>
Group
<ul type="circle" style="margin:0em; padding-left:2.25em;">
<li>
<a href="https://www.science.org/" target="_blank"> Science </a>
</li>
<li>
B. Studies
<ol type="1">
<li> A </li>
<li> B </li>
</ol>
</li>
<li>Humanities</li>
</ul>
</div>
</body>
</html>

03.
(c) Answer: Below is the required html code.
<!DOCTYPE html>
<html>
<body>
<p>
Subject:
<ol start="3" style="margin: -1em;">
<li>English</li>
<li>Bangla</li>
<li>ICT</li>
</ol>
</p>
</body>
</html>
(d) Answer: Below is the required HTML code:
<!DOCTYPE html>
<html>
<head>
<title>Web Page</title>
</head>

21
<body>
<table border="1" cellspacing="0" cellpadding="4">
<tr>
<th style="text-aling:center;" colspan="2"> Result Sheet </th>
</tr>
<tr>
<td style="text-align: center;">&nbsp;&nbsp;Name&nbsp;&nbsp;</td>
<td style="text-align: center; vertical-align: bottom;"rowspan="2">
&nbsp;&nbsp;&nbsp;GPA&nbsp;&nbsp;&nbsp;
</td>
</tr>
<tr>
<td style="text-align: center;">Roll</td>
</tr>
</table>
</body>
</html>

04.
(c) Answer: We know that four types of bulleting are possible in HTML. Namely:
Attribute & Value Bullet
type=“disc” ⚫
type=“circle” 
type=“square” ◼
type=“none”
That is, the bulleting used in Mr.A and Mr.B writing cannot be done using HTML only. It also requires languages of
CSS, JS, etc.
But since the question asks to do the code using only HTML, we are using the checkbox used in the form here in the
none type bulleting list. This is shown below:
<!DOCTYPE html>
<html>
<body>
<ol start="2">
<li>ICT Book Writer Name
<ul type="circle">
<li>Mr. X</li>
<li>Mr. Y</li>
</ul>
</li>
<li>Bangla Book Writer Name
<ul type="none" style="padding-left: 22px;">
<li><input type="checkbox" /> Mr. A</li>
<li><input type="checkbox" /> Mr. B</li>
</ul>
</li>
</ol>
</body>
</html>

22
(d) Answer: It is possible to display Scenario-2 on the webpage. The necessary code for displaying it on the webpage is
provided below:
<!DOCTYPE html>
<html>
<body>
<table border="1" cellspacing="0" cellpadding="10">
<caption style="text-align: left;">
<b>Marks sheet</b>
</caption>
<tr style="text-align: center;">
<td rowspan="2">Roll <br> No.</td>
<td colspan="2">Bangla</td>
<td colspan="2">English</td>
</tr>
<tr>
<td>1st</td>
<td>2nd</td>
<td>1st</td>
<td>2nd</td>
</tr>
<tr>
<td>001</td>
<td>85</td>
<td>67</td>
<td>58</td>
<td>70</td>
</tr>
<tr>
<td>002</td>
<td>65</td>
<td>75</td>
<td>60</td>
<td>55</td>
</tr>
<tr>
<td>003</td>
<td>72</td>
<td>61</td>
<td>48</td>
<td>63</td>
</tr>
</table>
</body>
</html>

23
05.
(c) Answer: Below is the HTML code for scenario-1:
<html>
<body>
<h1> WELCOME ICT LAB </h1>
<h6> WELCOME ICT LAB </h6>
<p> A <sub>2 </sub> B <sup>2</sup> </p>
</body>
</html>
Writing this code will get the output of the stem.
(d) Answer: HTML code for creating the table in Scenario-2:
<!DOCTYPE html>
<html>
<head>
<title>My Webpage</title>
</head>
<body>
<table border="1" cellspacing="0">
<tr>
<td style="vertical-align: bottom;">
<a href="https://Book.com">Book</a>
</td>
<td>
<img src="Book.jpg" alt="Book.jpg" /> <br />
<small>Book.jpg</small>
</td>
</tr>
</table>
</body>
</html>

06.
(c) Answer:

24
(d) Answer: The modified html code is as follows:
<!DOCTYPE html>
<html>
<body>
<p>
<a href="https://www.facebook.com/">
<img src="XYZ.jpg" height="300" width="400">
</a>
</p>
<h1><font color="red" size="45px">XYZ Khatun</font></h1>
<h2>Father's Name: <font color="blue">Md. Mujibur</font></h2>
<p>
<a href="My_test_result.html" target="_blank">My test exam result</a>
</p>
</body>
</html>

07.
(c) Answer: Here is the code-
<!DOCTYPE html>
<html>
<body>
<table border="1" cellspacing="0" cellpadding="3">
<tr>
<th style="text-aligtext-align:left">Name</th>
<th>Roll No.</th> <th colspan="2">Marks</th> <th style="text-align:left;">Type</th>
</tr>
<tr>
<td>Amit</td> <td>01</td> <td>68</td> <td>29</td> <td rowspan="3">Regular</td>
</tr>
<tr>
<td>Shuvo</td> <td>02</td> <td>60</td> <td>21</td>
</tr>
<tr>
<td>Samad</td> <td>03</td> <td>61</td> <td>19</td>
</tr>
<tr>
<td colspan="2">Mosaddiqur</td> <td>69</td> <td>28</td> <td rowspan="2">Newcomer</td>
</tr>
<tr>
<td colspan="2">Ahmadullah</td> <td>51</td> <td>15</td>
</tr>
</table>
</body>
</html>

25
(d) Answer: The table obtained by transposing rows and columns will appear as follows:

Here is the HTML code,


<!DOCTYPE html>

<html>

<body>

<table border="1" cellspacing="0" cellpadding="3">

<tr>

<th style="text-align:left;">Name</th> <td>Amit</td> <td>Shuvo</td> <td>Samad</td>

<td rowspan="2">Mosaddiqur</td> <td rowspan="2">Ahmadullah</td>

</tr>

<tr>

<th style="text-align:left;">Roll</th> <td>01</td> <td>02</td> <td>03</td>

</tr>

<tr>

<th rowspan="2">Marks</th> <td>68</td> <td>60</td> <td>61</td> <td>69</td> <td>51</td>

</tr>

<tr>

<td>29</td> <td>21</td> <td>19</td> <td>28</td> <td>15</td>

</tr>

<tr>

<th style="text-align:left;">Type</th> <td colspan="3" style="text-align:center;">Regular</td>

<td colspan="2" style="text-align:center;">

<a href="cxpsc.edu.bd/classXII/late.html"style="text-

decoration:none;color:black;">Newcomer</a>

</td>

</tr>

</table>

</body>

</html>

26

You might also like