Write An HTML Code That Will Output This EXAM
Write An HTML Code That Will Output This EXAM
MAT NO:
DEPARTMENT:
Phone 📱 NO:
HTML Quiz
Question 1:
What does HTML stand for?
Question 2:
Who is making the Web standards?
Google
The World Wide Web Consortium
Mozilla
Microsoft
Question 3:
Choose the correct HTML element for the largest heading:
<h6>
<h1>
<heading>
<head>
Question 4:
What is the correct HTML element for inserting a line break?
<br>
<break>
<lb>
Question 5:
What is the correct HTML for adding a background color?
<body bg="yellow">
<body style="background-color:yellow;">
<background>yellow</background>
Question 6:
Choose the correct HTML element to define important text
<strong>
<b>
<important>
<i>
Question 7:
Choose the correct HTML element to define emphasized text
<em>
<i>
<italic>
Question 8:
What is the correct HTML for creating a hyperlink?
<a href="http://www.w3schools.com">W3Schools</a>
<a url="http://www.w3schools.com">W3Schools.com</a>
<a>http://www.w3schools.com</a>
<a name="http://www.w3schools.com">W3Schools.com</a>
Question 9:
Which character is used to indicate an end tag?
/
^
*
<
Question 10:
How can you open a link in a new tab/browser window?
Question 11:
Which of these elements are all <table> elements?
<table><tr><td>
<table><tr><tt>
<table><head><tfoot>
<thead><body><tr>
Question 12:
Inline elements are normally displayed without starting a new line.
True
False
Question 13:
How can you make a numbered list?
<ul>
<ol>
<dl>
<list>
Question 14:
How can you make a bulleted list?
<list>
<ol>
<dl>
<ul>
Question 15:
What is the correct HTML for making a checkbox?
<checkbox>
<check>
<input type="check">
<input type="checkbox">
Question 16:
What is the correct HTML for making a text input field?
<input type="text">
<textinput type="text">
<input type="textfield">
<textfield>
Question 17:
What is the correct HTML for making a drop-down list?
<input type="list">
<input type="dropdown">
<select>
<list>
Question 18:
What is the correct HTML for making a text area?
<textarea>
<input type="textarea">
<input type="textbox">
Question 19:
What is the correct HTML for inserting an image?
<body bg="background.gif">
<background img="background.gif">
<body style="background-image:url(background.gif)">
Question 21:
An <iframe> is used to display a web page within a web page.
Question 22:
HTML comments start with <!-- and end with -->
False
True
Question 23:
Block elements are normally displayed without starting a new line.
False
True
Question 24:
Which HTML element defines the title of a document?
<title>
<meta>
<head>
Question 25:
Which HTML attribute specifies an alternate text for an image, if the image
cannot be displayed?
longdesc
alt
src
title
Question 26:
Which doctype is correct for HTML5?
Question 27:
Which HTML element is used to specify a footer for a document or section?
<section>
<bottom>
<footer>
Question 28:
In HTML, you can embed SVG elements directly into an HTML page.
True
False
Question 29:
What is the correct HTML element for playing video files?
<movie>
<media>
<video>
Question 30:
What is the correct HTML element for playing audio files?
<audio>
<sound>
<mp3>
Question 31:
The HTML global attribute, "contenteditable" is used to:
HTML elements
Style attributes
Event attributes
Question 33:
Graphics defined by SVG is in which format?
HTML
XML
CSS
Question 34:
The HTML <canvas> element is used to:
draw graphics
create draggable elements
manipulate data in MySQL
display database records
Question 35:
In HTML, which attribute is used to specify that an input field must be filled
out?
formvalidate
placeholder
required
validate
Question 36:
Which input type defines a slider control?
search
controls
range
slider
Question 37:
Which HTML element is used to display a scalar measurement within a
range?
<meter>
<measure>
<range>
<gauge>
Question 38:
Which HTML element defines navigation links?
<nav>
<navigate>
<navigation>
Question 39:
In HTML, what does the <aside> element define?
<header>
<section>
<top>
<head>
1|2|3|4|5