WorksheetsQuiz 01
Total questions: 13
Worksheet time: 7mins
Which HTML tag is used to define a hyperlink?
<link>
<a>
<href>
<link>
Which of the following is the example of 'Block element' ?
<a>......</a>
<img .....>
<strong>.....</strong>
<p>.....</p>
HTML uses _________?
Predefined tags
User-defined tags
Fixed tags
tags for link only
Which tags tells the browser where the page starts and stops?
<body>
<html>
<head>
<title>
Generally, there are
4 headers in most HTML pages
5 headers in most HTML pages
6 headers in most HTML pages
7 headers in most HTML pages
Which HTML tag is used to insert an image?
<img url=”htmllogo.jpg” />
<img alt=”htmllogo.jpg” />
<img src=”htmllogo.jpg” />
<img link=”htmllogo.jpg” />
In HTML, which attribute is used to create a link that opens in a new window tab?
src=”_blank”
alt=”_blank”
target=”_self”
target=”_blank”
How to add a background color in HTML?
<marquee bg color: "red">
<marquee bg-color = "red">
<marquee bgcolor = "red">
<marquee color = "red">
Which of the following is the correct way to send mail in HTML?
<a href = "mailto: xy@y">
<a href = "xy@y">
<mail xy@y</mail>
None of the above
Which of the following is the correct way to change the font face in HTML?
<font name = "Calibri"> ……… </font>
<font face = "Calibri"> ……… </font>
<font = "Calibri"> ……… </font>
None of the above
The "charset" attribute can be applied to only one <meta> element per HTML document.
True
False
What is the primary difference between a DIV and a SPAN element?
DIV is commonly used and SPAN is deprecated
A DIV is used for block level elements and a SPAN is used for inline elements.
A DIV is used with primary elements while a SPAN is used with secondary elements.
A DIV is used for inline elements and a SPAN is used for block level elements.
For the given code, which line is having error?
<meta charset=UTF-8>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name=description content="This is a description">
Line 1
Line 2
Line 3
No error
