WorksheetsHTML
Total questions: 27
Worksheet time: 14mins
What does HTML stand for?
Home Tool markup language
Hyper text markup language
Hyperlinks markup language
Choose the correct HTML element for the largest heading:
<h6>
<head>
<b>
<h1>
What is the correct HTML element for inserting a line break?
<break>
<br>
<lb>
What is the correct HTML for adding a background color?
< body background:"yellow">
< body style="background-color:yellow">
< body style="background:yellow">
Choose the correct HTML element to define important text?
<i>
<b>
<important>
<strong>
Choose the correct HTML element to define emphasized text
<b>
<i>
<em>
<italic>
HTML QuizQuestion 8 of 40:What is the correct HTML for creating a hyperlink?
<a>http://www.w3schools.com</a>
<a url="http://www.w3schools.com"></a>
<a name="http://www.w3schools.com"></a>
<a href="http://www.w3schools.com"></a>
Which character is used to indicate an end tag?
/
<
^
*
How can you open a link in a new tab/browser window?
<a href="url" target="new">
<a href="url" target="_blank">
<a href="url" new>
Inline elements are normally displayed without starting a new line.
True
False
How can you make a numbered list?
<dl>
<list>
<ol>
<ul>
How can you make a bulleted list?
<dl>
<list>
<ul>
<ol>
What is the correct HTML for making a checkbox?
<input type="check">
<check>
<checkbox>
<input type="checkbox">
What is the correct HTML for making a text input field?
<input type="text">
<textinput type="text">
<textfield>
<input type="textfield">
What is the correct HTML for making a drop-down list?
<input type="list">
<list>
<input type="dropdown">
<select>
What is the correct HTML for making a text area?
<textarea>
<input type="textarea">
<input type="textbox">
What is the correct HTML for inserting an image?
<img alt="MyImage">image.gif</img>
<image src="image.gif" alt="MyImage">
<img href="image.gif" alt="MyImage">
<img src="image.gif" alt="MyImage">
What is the correct HTML for inserting a background image?
<body style="background-image:url(background.gif)">
<body bg="background.gif">
<background img="background.gif">
An <iframe> is used to display a web page within a web page.
There is no such thing as an <iframe>
True
False
Block elements are normally displayed without starting a new line.
True
False
Which HTML element defines the title of a document?
<title>
<head>
<meta>
<html>
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
title
src
alt
href
Which doctype is correct for HTML5?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">
<!DOCTYPE HTML5>
<!DOCTYPE html>
<!DOCTYPE HTML>
Which HTML element is used to specify a footer for a document or section?
<footer>
<bottom>
<section>
Which HTML element is used to display a scalar measurement within a range?
<measure>
<meter>
<range>
<gauge>
Which HTML element is used to specify a header for a document or section?
<top>
<head>
<header>
<section>
Which input type defines a slider control?
range
meter
control
slider
