Forwarded from CS_24_MCQ
What is the main difference between <div> and <span>?
Anonymous Quiz
86%
<div> is a block-level element, while <span> is an inline element
7%
<div> is used for multimedia, while <span> is used for links
7%
<div> is for styling, while <span> is for noscripts
0%
<span> is used for creating paragraphs
Forwarded from CS_24_MCQ
Which attribute is used to change the text color in the <font> tag?
Anonymous Quiz
73%
color
5%
stule
2%
background
20%
text-color
Forwarded from CS_24_MCQ
How can you change the font size in HTML using the <font> tag?
Anonymous Quiz
95%
<font size="n">
3%
<font style="n">
0%
<font height="n">
2%
<font width="n">
Forwarded from CS_24_MCQ
Which tag defines an address element in HTML5?
Anonymous Quiz
24%
<addr>
67%
<address>
3%
<loc>
5%
<abbr>
Forwarded from CS_24_MCQ
What is the purpose of the <strong> tag in HTML?
Anonymous Quiz
72%
To make text bold
5%
To italicize text
5%
To underline text
18%
To emphasize text
Forwarded from CS_24_MCQ
What is the function of the <blockquote> element in HTML?
Anonymous Quiz
13%
To create inline quotes
79%
To define a block of quoted text
3%
To bold the text
5%
To underline the text
Forwarded from CS_24_MCQ
What JavaScript function is used to force a link to open in a new window instead of a tab?
Anonymous Quiz
75%
9%
newWindow()
11%
openWindow()
5%
createWindow()
Forwarded from CS_24_MCQ
Which tag is used to provide contact information for the author of a document?
Anonymous Quiz
32%
<address>
30%
<contact>
25%
<author>
13%
<email>
Forwarded from CS_24_MCQ
Which attribute is used to open a link in a new browser window or tab?
Anonymous Quiz
5%
target="_new"
86%
target="_blank"
7%
target="_newtab"
2%
target="_top"
Forwarded from CS_24_MCQ
How do you create a cell that spans multiple rows?
Anonymous Quiz
77%
rowspan
20%
colspan
3%
heightspan
0%
mergecols
Forwarded from CS_24_MCQ
Which HTML tag is used to define the caption for a table?
Anonymous Quiz
8%
<noscript>
10%
<tablecaption>
75%
<caption>
7%
<header>
Forwarded from CS_24_MCQ
How do you create a cell that spans multiple columns in a table?
Anonymous Quiz
7%
rowspan
90%
colspan
2%
mergecols
2%
widthspan
Forwarded from CS_24_MCQ
Forwarded from CS_24_MCQ
What tag is used to define a row in an HTML table?
Anonymous Quiz
7%
<row>
10%
<td>
76%
<tr>
7%
<th>
Forwarded from CS_24_MCQ
Forwarded from CS_24_MCQ
Which attribute of the <iframe> tag specifies the source URL?
Anonymous Quiz
56%
src
24%
href
15%
link
5%
alt
Forwarded from CS_24_MCQ
What HTML element is used to embed another HTML document within a webpage?
Anonymous Quiz
27%
<embed>
66%
<iframe>
5%
<object>
2%
<img>
Forwarded from CS_24_MCQ
What protocol is used to link a telephone number for mobile users?
Anonymous Quiz
18%
phone:
0%
callto:
79%
tel:
3%
phonecall:
Forwarded from CS_24_MCQ
What attribute is used to identify a specific location on a page for internal linking?
Anonymous Quiz
11%
class
30%
href
53%
id
6%
target
Forwarded from CS_24_MCQ
How do you link to a specific point within the same page?
Anonymous Quiz
20%
Use an <a> tag with an absolute URL
11%
Use a <div> tag with an id
64%
Use an <a> tag with a fragment identifier (#)
5%
Use an <a> tag with the target attribute