HTML ASSESSMENT
HTML ASSESSMENT
Email *
E-mail *
Name *
QUESTIONS
Choose the correct HTML element for the largest heading : * 1/1
<h1>
<head>
<h6>
<heading>
Style attributes
HTML elements
Event attributes
What is the correct HTML for inserting an image ? * 1/1
<img alt="MyImage">image.gif</img>
HTML comments start with <!-- and end with --> * 1/1
True
False
True
False
What is the correct HTML for making a text area ? * 1/1
<input type="textarea">
<input type="textbox">
<textarea>
<range>
<meter>
<measure>
<gauge>
Correct answer
<meter>
<
^
Which of these elements are all <table> elements ? * 1/1
<table><tr><td>
<table><head><tfoot>
<table><tr><tt>
<thead><body><tr>
<ul>
<list>
<ol>
<dl>
action
method
target
href
<input type="checkbox">
<input type="check">
<check>
<checkbox>
Microsoft
Mozilla
True
False
In HTML, you can embed SVG elements directly into an HTML page. * 1/1
True
False
<nav>
<navigation>
<navigate>
Inline elements are normally displayed without starting a new line. * 1/1
True
False
What is the default value of the method attribute in the <form> tag? * 0/1
GET
POST
PUT
DELETE
Correct answer
GET
<em>
<italic>
<i>
What is the correct HTML element for playing video files ? * 1/1
<media>
<video>
<movie>
The HTML global attribute, "contenteditable" is used to: * 1/1
Return the position of the first found occurrence of content inside a string
Specifies a context menu for an element. The menu appears when a user right-
clicks on the element
slider
range
search
controls
Correct answer
range
<body style="background-color:yellow;">
<background>yellow</background>
<body bg="yellow">
Which attribute is used to span a cell across multiple rows in a table? * 0/1
rowspan
colspan
span
merge
Correct answer
rowspan
<header>
<head>
<section>
<top>
Which of the following elements is used to label an input field in a form? * 1/1
<input>
<label>
<span>
<legend>
CSS
HTML
XML
Correct answer
XML
What is the correct HTML element for playing audio files ? * 1/1
<audio>
<sound>
<mp3>
Table footer
Table border
draw graphics
Which tag is used to create a table in HTML? * 1/1
<tr>
<table>
<td>
<tbody>
b. By using the for attribute in <label> and matching it with the id of the <input>
Correct answer
<body style="background-image:url(background.gif)">
<body bg="background.gif">
<background img="background.gif">
In HTML, which attribute is used to specify that an input field must be *1/1
filled out ?
required
placeholder
formvalidate
validate
<input type="dropdown">
<select>
<input type="list">
<list>
<ol>
<ul>
<dl>
<list>
Choose the correct HTML element to define important text * 1/1
<strong>
<b>
<i>
<important>
<a href="http://www.w3schools.com">W3Schools</a>
<a>http://www.w3schools.com</a>
<a name="http://www.w3schools.com">W3Schools.com</a>
<a url="http://www.w3schools.com">W3Schools.com</a>
<footer>
<section>
<bottom>
<!DOCTYPE HTML5>
<!DOCTYPE html>
What is the correct HTML element for inserting a line break ? * 1/1
<br>
<lb>
<break>
Which HTML attribute specifies an alternate text for an image, if the *1/1
image cannot be displayed ?
alt
src
longdesc
title
text
password
secure
hidden
What is the correct HTML for making a text input field ? * 1/1
<input type="textfield">
<input type="text">
<textfield>
<textinput type="text">
Which HTML element defines the title of a document ? * 1/1
<title>
<head>
<meta>
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy
Forms