NEW
Font size
WorksheetsWeb Design Preassessment
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:
<h1>
<h6>
<heading>
<head>
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 style="background-color:yellow;">
<background>yellow</background>
<body bg="yellow">
Choose the correct HTML element to define important text
<b>
<important>
<i>
<strong>
Choose the correct HTML element to define emphasized text
<italic>
<em>
<i>
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 name="http://www.w3schools.com">W3Schools.com</a>
<a>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" new>
<a href="url" target="new">
<a href="url" target="_blank">
Which of these elements are all <table> elements?
<table><tr><tt>
<thead><body><tr>
<table><tr><td>
<table><head><tfoot>
Inline elements are normally displayed without starting a new line.
True
False
How can you make a numbered list?
<list>
<ul>
<dl>
<ol>
How can you make a bulleted list?
<dl>
<ol>
<ul>
<list>
What is the correct HTML for making a checkbox?
<input type="check">
<checkbox>
<check>
<input type="checkbox">
What is the correct HTML for making a text input field?
<input type="textfield">
<textinput type="text">
<textfield>
<input type="text">
What is the correct HTML for making a drop-down list?
<input type="dropdown">
<list>
<input type="list">
<select>
What is the correct HTML for making a text area?
<input type="textbox">
<textarea>
<input type="textarea">
What is the correct HTML for inserting an image?
<img href="image.gif" alt="MyImage">
<image src="image.gif" alt="MyImage">
<img alt="MyImage">image.gif</img>
<img src="image.gif" alt="MyImage">
What is the correct HTML for inserting a background image?
<body bg="background.gif">
<body style="background-image:url(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>
False
True
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?
<title>
<meta>
<head>
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
alt
longdesc
src
title
Which doctype is correct for HTML5?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">
<!DOCTYPE html>
<!DOCTYPE HTML5>
Which HTML element is used to specify a footer for a document or section?
<footer>
<bottom>
<section>
In HTML, you can embed SVG elements directly into an HTML page.
True
False
What is the correct HTML element for playing video files?
<movie>
<video>
<media>
What is the correct HTML element for playing audio files?
<audio>
<mp3>
<sound>
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:
Event attributes
HTML elements
Style attributes
Graphics defined by SVG is in which format?
CSS
HTML
XML
The HTML <canvas> element is used to:
create draggable elements
manipulate data in MySQL
display database records
draw graphics
In HTML, which attribute is used to specify that an input field must be filled out?
required
formvalidate
placeholder
validate
Which input type defines a slider control?
range
search
control
slider
Which HTML element is used to display a scalar measurement within a range?
<measure>
<range>
<meter>
<gauge>
Which HTML element defines navigation links?
<nav>
<navigate>
<navigation>
In HTML, what does the <aside> element define?
Content aside from the page content
A navigation list to be shown at the left side of the page
The ASCII character-set; to send information between computers on the Internet
Which HTML element is used to specify a header for a document or section?
<top>
<header>
<section>
<head>
