NEW
Font size
WorksheetsHTML EOPA Review
Total questions: 40
Worksheet time: 20mins
What does HTML stand for?
Hyperlinks and Text Markup Language
Hyper Text Markup Language
Home Tool Markup Language
Who is making the Web standards?
The World Wide Web Consortium
Microsoft
Mozilla
Choose the correct HTML element for the largest heading:
<h6>
<h1>
<heading>
<head>
What is the correct HTML element for inserting a line break?
<lb>
<br>
<break>
What is the correct HTML for adding a background color?
<background>yellow</background>
<body style="background-color:yellow;">
<body bg="yellow">
Choose the correct HTML element to define important text
<strong>
<i>
<important>
<b>
Choose the correct HTML element to define emphasized text
<i>
<em>
<italic>
What is the correct HTML for creating a hyperlink?
<a>http://www.w3schools.com</a>
<a name="http://www.w3schools.com">W3Schools.com</a>
<a url="http://www.w3schools.com">W3Schools.com</a>
<a href="http://www.w3schools.com">W3Schools</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" new>
<a href="url" target="new">
<a href="url" target="_blank">
Which of these elements are all <table> elements?
<table><head><tfoot>
<table><tr><td>
<thead><body><tr>
<table><tr><tt>
Inline elements are normally displayed without starting a new line.
False
True
How can you make a numbered list?
<ul>
<list>
<dl>
<ol>
How can you make a bulleted list?
<dl>
<ul>
<ol>
<list>
What is the correct HTML for making a checkbox?
<input type="checkbox">
<check>
<input type="check">
<checkbox>
What is the correct HTML for making a text input field?
<input type="text">
<textfield>
<textinput type="text">
<input type="textfield">
What is the correct HTML for making a drop-down list?
<list>
<input type="list">
<input type="dropdown">
<select>
What is the correct HTML for making a text area?
<input type="textarea">
<input type="textbox">
<textarea>
What is the correct HTML for inserting an image?
<img href="image.gif" alt="MyImage">
<img alt="MyImage">image.gif</img>
<image src="image.gif" alt="MyImage">
<img src="image.gif" alt="MyImage">
What is the correct HTML for inserting a background image?
<body bg="background.gif">
<background img="background.gif">
<body style="background-image:url(background.gif)">
An <iframe> is used to display a web page within a web page.
True
False
There is no such thing as an <iframe>
HTML comments start with <!-- and end with -->
True
False
Block elements are normally displayed without starting a new line.
True
False
Which HTML element defines the title of a document?
<meta>
<head>
<title>
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
title
longdesc
alt
src
Which doctype is correct for HTML5?
<!DOCTYPE html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">
<!DOCTYPE HTML5>
Which HTML element is used to specify a footer for a document or section?
<section>
<footer>
<bottom>
In HTML, you can embed SVG elements directly into an HTML page.
True
False
What is the correct HTML element for playing video files?
<video>
<media>
<movie>
What is the correct HTML element for playing audio files?
<sound>
<audio>
<mp3>
The HTML global attribute, "contenteditable" is used to:
Return the position of the first found occurrence of content inside a string
Update content from the server
Specifies a context menu for an element. The menu appears when a user right-clicks on the element
Specify whether the content of an element should be editable or not
In HTML, onblur and onfocus are:
Style attributes
Event attributes
HTML elements
Graphics defined by SVG is in which format?
HTML
CSS
XML
The HTML <canvas> element is used to:
draw graphics
display database records
manipulate data in MySQL
create draggable elements
In HTML, which attribute is used to specify that an input field must be filled out?
formvalidate
validate
required
placeholder
Which input type defines a slider control?
slider
search
range
controls
Which HTML element is used to display a scalar measurement within a range?
<meter>
<gauge>
<measure>
<range>
Which HTML element defines navigation links?
<nav>
<navigation>
<navigate>
In HTML, what does the <aside> element define?
Content aside from the page content
The ASCII character-set; to send information between computers on the Internet
A navigation list to be shown at the left side of the page
Which HTML element is used to specify a header for a document or section?
<head>
<section>
<header>
<top>
