Elance HTML Test Answers ( Part-2 )2015
·
To add rows to your tables use which tags ?
<tr> and </tr>
<cr> and </cr>
<td> and </td>
<EM> is the HTML element for
emphasized text.
extra markup.
keyboard text.
strikethrough text.
What is the correct HTML for inserting an
image?
<pic
src="image.gif" alt="MyImage" />
<img
alt="MyImage">image.gif</img>
<img src="image.gif"
alt="MyImage" />
<image
src="image.gif" alt="MyImage" />
Which of the following represents an HTML
comment?
<comment> This is a comment
</comment>
<com>This is a comment
</com>
<!-- This is a comment -->
<-- This is a comment -->
Which of the following HTML statements
correctly displays a table row?
<TR><TD></TD></TR>
<TD><TR></TR></TR>
<TR><TD></TR></TD>
<TD></TD><TR></TR>
What element specifies a row in a HTML table?
tabler
td
tr
trow
tablerow
Which HTML tag is used to group block elements
for styling purposes?
<HEAD>
<DIV>
<AREA>
<SBAR>
Which of the following HTML statements will
display an image in the web browser?
<IMG href="/myimages/flowers.jpg"
alt="Roses">
<IMG
file="/myimages/flowers.jpg" alt="Roses">
<IMG
link="/myimages/flowers.jpg" alt="Roses">
<IMG
src="/myimages/flowers.jpg" alt="Roses">
Which HTML tag do you use to add a horizontal
rule?
<HR>
None of these
<NOSHADE>
<TR>
<TD>
Which HTML statement creates an <INPUT>
element for a single line of text?
<INPUT
type="characters" id="firstname">
<INPUT
type="string" id="firstname">
<INPUT type="copy"
id="firstname">
<INPUT type="text"
id="firstname">
The video and audio HTML elements for media
playback are available in...
HTML 5
HTML 4.01
HTML 3
HTML 4
Which of these is not a HTML tag?
<img>
<con>
<center>
<body>
<script>
Where can we place the background color tag in
your page?
<font>
<head>
<body>
To start a numbered list with regular numerals
use ?
<ol type="a">
<ol type="I">
<ol type="1">
Which HTML tag do you use to create an ordered
list?
<OL>
<UL>
<OD>
<DL>
How can you scale an image on a web page?
By using a border attribute
None of these
By using a <FORM> tag
By defining width and height
attributes of the <IMG> tag
Which HTML element allows authors to insert a
frame within a block of text?
<INLINE>
<XFRAME>
<IFRAME>
<INSET>
Which of the following would be used in table
row coding?
<TR>
<th>
<thd>
tt
<ty>
A web browser interprets every HTML tag until
it finds
</END>
</CLOSE>
</HTML>
</TERMINATE>
The <input type=" ..."> tag is
used to add a text field to a form.
radio
text
checkbox
What is the correct HTML for creating a
hyperlink?
<a name="http://www.qualitypointtech.com">Qualitypoint
Technologies</a>
<a
url="http://www.qualitypointtech.com">Qualitypoint
Technologies</a>
<a
href="http://www.qualitypointtech.com">Qualitypoint
Technologies</a>
<a>http://www.qualitypointtech.com</a>
Which of the following is not a valid html
tag?
<div>
<strong>
<meta>
<table>
<h7>
When are the HTML tags <TH> and
<TD> used?
When creating tables
When creating a large text area
When creating text boxes
When creating forms
How do you make a link to another web page?
<a
href="http://www.abc.com"></a>Visit abc.com
<a
src="http://www.abc.com"></a>Visit abc.com
<a
href="http://www.abc.com">Visit abc.com</a>
<a
src="http://www.abc.com">Visit abc.com</a>
Besides<B>, another way to make text
bold is what ?
<strong>
<dark>
<fat>
To add rows to your tables use which tags?
<tr> and </tr>
<cr> and </cr>
<tables > and </tables
>
<td> and </td>
<ti> and </ti>
When do you use an HTML <i> tag?
To define italic text
To define an input field
To define inserted text
To define a list item
None of these
Choose the correct HTML tag for the largest
heading ?
<h1>
<head>
<h6>
<heading>
HTML provides web designers with the means
to...
edit images online.
manage credit card transactions.
publish online documents with
headings, text, tables, lists, and photos.
react to user keystrokes or
mouse actions on the web page.
Which property can be used to set the color of
a text?
color-spacing
None
color-space
color
The DIV element is a
block-level element
High-level element
low-level element
middle-level element
The HTML syntax of HTML5 requires a
............. to be specified to ensure that the browser renders the page in
standard mode.
BODY
DOCTYPE
TITLE
HEAD
Which HTML target
attribute value is used to tell the browser to load the document in a new,
unnamed window?
_blank
_top
_parent
_self
What does this code render in the browser?
<B><I>Text</I></B>
Creates a table cell
Creates bold italic text
All of these
Creates italic text
What is the correct HTML tag for inserting a line
break?
<br />
<break />
<lb />
How can you open a link in a new browser
window ?
<a href="url"
target="new
<a href="url"
new>
<a href="url"
target="_blank">
Which of the following HTML statements inserts
a checkbox?
<INPUT
menu="checkbox">
<A href="checkbox">
<INPUT
type="checkbox">
<CHECKBOX>
Choose the tag that defines where the HTML
document begins and ends:
<BODY></BODY>
<DIV></DIV>
<DOC></DOC>
<HTML></HTML>
Which of the following is a correct value for
the HTML <form> method attribute?
all of these
get
post
All normal webpages consist of what two parts
?
Top and bottom
Head and body
Body and frameset
Image links can show a text label if you add
which property?
alternative
alt
str
Every form requires
image button
link button
submit button
True or false. <h1> is a heading bigger
than <h3>
False
True
A simple HTML table consists of the
<TABLE> element and...
<TH>
<TR>
All of these
<TD>
Which tag is used for a paragraph block?
<paragraph>
<pb>
<p>
<br>
Which of the following HTML elements appear
last in an HTML page?
</HTML>
</BODY>
</TITLE>
</HEADER>
CSS appears between which tags?
<style> and </style>
<define> and
</define>
<c> and </c>
<div> and </div>
<iframe> and
</iframe>
The HTML <HEAD> element can contain...
meta information
scripts
All of these
style sheet links
What tag tells where a link starts ?
<l>
<start>
<a>
Which is responsible for Standardization of
HTML:
ICNA
Google
W3C
IEEE
Which HTML
element makes text bold?
<ST>
<BO>
<BOLD>
<B>
The <i> tag makes text... ?
Italic
Bold
Inline
Which tag will make the text bold?
<super>
<br>
<dark>
<strong>
Which of the following HTML statements inserts
an image?
<IMAGE="image.jpg"
alt="">
<IMG
alt="">"image.jpg"</img>
<IMG src="image.jpg"
alt="">
<IMG
href="image.jpg" alt="">
Which HTML tag do you use to add a video to
your web page?
<B>
None of these
<I>
<FONT>
<MARQUEE>
All HTML tags are enclosed in what tag?
<>
? and !
# and #
% and %
What does the HTML <A> tag create?
an article
an area inside an image map
hyperlink
None of these
Which HTML element displays data in columns
and rows?
<HEAD>
<FORM>
<P>
<TABLE>
Where is a META tag placed?
in a P tag
in the BODY
in the HEAD
TRUE or FALSE? A <div> defines a section
in a document (block-level).
FALSE
TRUE
How would you set a page title in HTML ?
<title>This is a page
title</title>
<pagetitle value="This
is a page title" />
<title value="This is a
page title" />
<pagetitle>This is a page
title</pagetitle>
<page title="This is a
page title" />
Which HTML tag is used to reference Javascript
files?
<meta>
<link>
<script>
<body>
What does HTML stand for?
Hyperextensible Markup Language
Hypertext Manual Language
Hypertext Markup Language
None of these
Which of these is not a valid attribute of the HTML <img> tag?
Which HTML tag starts the creation of a table?
<TABLE>
<HTMLTABLE>
<TAB>
<T>
What is the correct HTML and XHTML tag for
inserting a line break?
<br> and <br />
<breakline> and
<breakline />
<tr> and <tr />
<lb> and <lb />
<break> and <break
/>
To change the size of an image in HTML use
what?
bigger and smaller
small and big
height and width
pliers
length and wide
To create an ordered list, use the the
following HTML tag
<O LIST>
None of these
<OLIST>
<OL>
True or False? A <!DOCTYPE> declaration
must appear at the very top of an HTML file.
True
False
Which attribute is required for the HTML
<IMG> tag?
rel
src
id
width
Gif and jpg are the two main types of what?
images
animated effects
html
videos
outlines
Which of the following is the correct way to
create an HTML link?
<A
mailto="/url">link</A>
<A href="/url">link</A>
<A
target="/url">link</A>
<A
link="/url">link</A>
Which tag is used to define an image in HTML?
<img>
<image>
<pic>
Which of the following is an example of an
HTML table row?
<CELL>This is a Table Row
<TABLE ROW>This is a Table
Row</TABLE ROW>
<TR> <TH>This is a Table
Row</TH> </TR>
<ROW>This is a Table Row
Which HTML tag adds line breaks to a web page?
<PARAGRAPH>
<LB>
<B>
<BR>
Which heading element is defined as the most
important which usually displays the largest text?
<H9>
<H1>
<H3>
<H6>
How will you add an image into a web page?
<image height="200"
width="200">
<img src="image.gif"
height="200" width="200">
<img
url="image.gif" height="200" width="200">
<img
>imagefile.jpg</img>
<immage
url="image.gif" height="200" width="200">
Which HTML element italicizes text?
<B>
<ITALICS>
<I>
<ITAL>
What are the default extensions for an html
document?
.httpm and .htmx
.http and .htmx
.html and .htm
.htl and .httm
Gif and jpg are the two main types of what ?
animated effects
images
outlines
The <br>tag adds what to your webpage ?
Line break
Long breaks
Little bubbles
What is the correct HTML for creating a
hyperlink?
<a
name="http://www.abc.com">abcTechnologies</a>
<a
href="http://www.abc.com">abcTechnologies</a>
<a>http://www.abc.com</a>
<a
url="http://www.abc.com">abcTechnologies</a>
Which of the following is a correct HTML tag?
<span>
<strong>
<p>
<em>
All of these
Besides<B>, another way to make text
bold is what?
<strong>
<big>
<fat>
<dark>
HTML forms can contain:
Radio buttons
All of these
Checkboxes
Text fields
Which of the following HTML tags is used to
display an image?
<PICTURE>
<IMAGE>
<IMG>
<IMAGES>
<A href="http://mysite.com">
creates an HTML...
paragraph.
line break.
link element.
image element.
The <title> tag belongs where in your
HTML?
<head>
<arm>
<body>
<embed>
When do you use an HTML <B> tag?
To define a single line break
To define bold text
None of these
To define italic text
To define a push button
Which of the following creates an HTML line
break?
<LB />
<BREAK />
<B />
<BR />
Which tag defines a paragraph?
<table>
<p>
<br>
<paragraph>
<list>
What is the correct syntax for creating a
hyperlink?
<a
title="http://smarterer.com">smarterer</a>
<a
name="http://smarterer.com">smarterer</a>
<a _target="http://smarterer.com">smarterer</a>
<a
href="http://smarterer.com">smarterer</a>
<I> is the HTML element for
information.
indent.
ignore.
italics.
Which image type can you insert into an HTML
document?
All of these
gif
png
jpg
Which HTML tag is correct?
<IMG source="1.jpg"
/>
<IMG src="1.jpg" />
<IMG value="1.jpg"
/>
<IMG link="1.jpg"
/>
What does <br /> do?
It creates a line break.
It makes text bold.
It indents the current line of
text.
It creates a bullet outside of
an unordered list.
It creates a bubble.
What does the HTML <P> tag define?
parameter of an object
image
paragraph
highlighted text
None of these
Which HTML element will display the largest
font size by default?
<P>
<B>
<A>
<H1>.
Which HTML tag do you use to put an image on a
web page?
<PIC>
<IM>
<IMAGE>
<IMG>
The correct file extension used for an HTML
file is...
.doc
.xps
.html
.exe
Which of the following creates the largest
HTML header text?
<H2>
<H3>
<H1>
<H4>
Which is an example of the correct syntax used
to write HTML tags?
-HTML-
"HTML"
<HTML>
(HTML)
All HTML tags are enclosed in what ?
# and #
<>
? and !
Which standard event attribute does not
require a mouse click to trigger the event?
onload
onclick
ondblclick
All of these
Which element represents an external resource,
which can be treated as an image, a nested browsing context, or a resource to
be handled by a plugin?
<object>
<script>
<noscript>
There is no such element.
<div>
HTML attribute values are usually enclosed in?
brackets
parenthesis
quotation marks
curly braces
Which element is used to specify multiple
media resources for audio and video elements in HTML5?
<address>
<location>
<resource>
<source>
<src>
Why do you use a summary attribute with
tables?
To define a row height
All of these
To define a table width
For accessibility
Which of these is NOT a valid meta tag option?
keywords
description
refresh
redirect
author
The value ________ is not supported in IE7 and
earlier
"Value"
"Version"
"inherit"
None
A <p> can only contain:
Block-level elements.
Inline elements.
Almost any other element.
Any other element.
Which attribute is NOT assigned to the HTML
<SCRIPT> tag?
src
defer
scope
type
What is the correct order of the following
HTML definition list tags?
<dt>, <dl>,
<dd>
<dl>, <dt>, <dd>
<dd>, <dt>,
<dl>
None of these
Strict DTD allows...
semantic, presentational, and
deprecated elements
semantic and presentational elements
semantic, presentational,
deprecated, and frameset elements
presentational, deprecated, and
frameset elements
Which element represents a range of text that
has been added to a document?
<inserted>
<added>
<ins>
<add>
What is the right way to embed a png image in
HTML without an external URL?
<img
src="binary:image/png,..." />
<img png-data="..."
/>
It is not possible
<img
src="data:image/png;base64,..." />
<img
type="image/png" binary="..." />
Which tag specifies a default address or a
default target for all links on a page?
<base>
<canonical>
<link>
<recall>
Which of these is not a valid attribute of the HTML <img> tag?
src
onerror
(none of these)
color
The amount of time the transition has been
running, in seconds, when this event fired
elapsedTime of type float, readonly
pseudoElement of type DOMString,
readonly
None
propertyName of type DOMString,
readonly
Which of the following is a FALSE statement
about the <noscript> tag?
It is supported in all major
browsers.
It can only contain block-level
elements.
It will only be displayed if
scripts are not supported, or are disabled.
Which one of these is NOT a valid meta tag
http-equiv attribute value?
content-type
location
time
last-modified
refresh
To attach a <label> to a form control
you need to?
Add the for attribute. It's
value will contain the form control's name
Add the name attribute. It's
value will contain the form control's id
Add the for attribute. It's value
will contain the form control's id
Add the id attribute. It's value
will contain the form control's name
Which type is used for input fields that
should contain a URL address?
path
url
src
How would you insert a registered trademark
symbol - ® - with html?
use the entity name ®
use the entity name ™
there is no way you could insert
this symbol with html
use the entity name
®trade;
How can one avoid quirks mode?
use <html
quirks-mode="off"> as your opening tag
all answers are correct
put a valid doctype declaration
after the <html> tag
use <html
quirks-mode="false"> as your opening tag
put a valid doctype declaration
before the <html> tag
If your sample.html file is in the /p/test
folder, and your images are in the /p/images folder, how can you reference an
image?
/p/images/mypic.jpg
Both ways.
../images/mypic.jpg
As of HTML 4.01, which of the following HTML
elements has been deprecated?
<u>
<i>
<b>
<p>
Which of the following is NOT a valid pair for
browser safe colors?
00
AA
CC
Which of these is NOT an attribute of an HTML
<META> tag?
name
scheme
All of these
http-equiv
doctype
What is the primary purpose of WAI-ARIA
Landmark roles?
Landmark roles are used to describe
standalone user interface widgets.
Landmark roles define regions of a
web page intended to be used as navigational aids.
Landmark roles typically act as
containers for groups of standalone user interface widgets.
Landmark roles are used to
describe the various structures that organize content in a page.
Which element is NOT a block element?
<td>
<ul>
<h1>
<table>
<p>
The value of letter-spacing property is
neither normal or of length type
None
both normal or of length type
either normal or of length type
Which of the following is right for frameset
tag?
<frameset> <iframe
src="..." /> <iframe src="..." />
</frameset>
<frameset> <frame1
src="..." /> <frame2 src="..."/> </frameset>
<frameset> <frame
src="..." /> <frame src="..." /> </frameset>
<frameset> <iframe
src="...">adsf</iframe> <iframe
src="...">adsf</iframe> </frameset>
Using Hspace will
add what to your image ?
Space to the top and bottom
Height to all sides
Space to the left and right
How do you use HTML imports to import an HTML
file (similar to how in a css file you can do css imports)?
<link rel="html"
href="/path/to/imports/stuff.html">
<import
href="/path/to/imports/stuff.html">
<import-html
href="/path/to/imports/stuff.html">
<import type="html"
href="/path/to/imports/stuff.html">
<link rel="import"
href="/path/to/imports/stuff.html">
Which HTML tag do you use to reverse the
direction of a text?
<b>
<tr>
<td>
<bdo>
<reversed>
Which element can be used to indicate text to
be entered by the user?
<font
style="keyboard">
<keyboard>
<text-keyboard>
<kbd>
Is the src value of this image a valid URL in
HTML? <img src="//example.com/img/logo.png"/>
Yes - it redirects to
"https://example.com/img/logo.png"
Yes - it's a protocol independent
URL
Yes - it redirects to
"http://example.com/img/logo.png"
Yes - it redirects to a local
network location
No
Which of the following statements is FALSE
about the HTML <pre> tag in most web browsers?
Disables bidirectional processing
Preserves spaces and line breaks
Disables automatic word wrap
Renders text with a fixed-width
font
Which will let text wrap down the side of the
image ?
<img
src="myImage.gif" wrap="on">
<img
src="myImage.gif" align="wrap">
<img src="myImage.gif"
align="right">
What is the purpose of the HTML <samp>
element?
None of these.
It's used to markup a variable
in a programming context.
It's used to markup a fragment
of computer code.
It's used to markup example output
from a computer program.
Which Specifies the length of text field.
width
size
length
All of them
Which of the following is NOT a valid HTML4
tag?
bdo
base
br
big
blink
Which one of the following is not a valid
<table> attribute in the HTML4.01 specification?
cellspacing
summary
rule
frame
width
What entity name would you use to insert a
trademark symbol ™ ?
&tmark;
®
™
&trademark;
A ....... (year, month, day, hour, minute,
second, fractions of a second) encoded according to ISO 8601, with no time zone
information ISO 8601.
datetime
datesecond
datetime-local
dateminute
As of HTML 4.01, which of the following
attributes should no longer be applied to <a> elements?
target
type
hreflang
datasrc
media
Which value of the cursor property specifies a
cursor of type .cur and .ani?
move
url
src
auto
Which attribute specifies the language of a
linked document?
lang
language
baselang
hreflang
language-code
The <header> element should be used to
markup
The header of the website
The main navigation
The title and/or sub-title of any
content block
The site title and meta tage
Which of the following is not a valid value
for the http-equiv attribute of the HTML <META> tag?
CACHE-CONTROL
EXPIRATION
LOCATION
DATE
Which one is an inline element?
<hr>
<fieldset>
<pre>
<noscript>
<br>
Which of the following is NOT an ARIA Landmark
role?
main
navigation
form
article
application
If you want to be sure that the image is
indeed the same one that the author intended, and hasn't been modified in any
way, which one attribute inside <img> tag is used?
MD
LOCK
NOCHANGE
SD
Which is NOT a valid value for the HTML shape
attribute?
circle
rect
poly
square
Choose the valid HTML tag.
<QUOTATION>
<Q>
<QM>
<QUOTE>
Is <textarea> a block level element?
No
Yes
one attribute is used to identify an image as
image map?
IMAP
SMAP
MAP
ISMAP
Which attribute is required for the
<form> element?
action
name
all of these
method
The _______________ property allows to specify
the distance between the list and the text relating to the list.
marker-offset
list-spacing
list-offset
marker-spacing
What does the <q> elements cite
attribute do?
It specifies the source URI of the
quote
None of these
The <q> does not exist in
HTML
It contains the quotation
How many standard color names are defined in
HTML 4.01?
16
8
32
256
Why is this NOT valid XHTML Strict? <a
href="?page=about" target="_blank" title="Read more
about us?"><span>Read more about us!</span></a>
You can't link to
"?page=about" Use a proper filename instead like
"about.html" or "about.php"
You can't have a <span>
tag inside a <a> tag, use CSS instead
Target="_blank" isn't
valid XHTML Strict! Use JavaScript instead
What is a valid value for the HTML
<TABLE> frame attribute?
below
all
right
left
Which of the following is NOT an HTML event
attribute?
ondrop
onhover
onmouseover
all of the above
TRUE or FALSE: The HTML Event Attribute
"onload" fires as the page finishes rendering.
True
False
TRUE or FALSE In HTML, a radio button's value
attribute must be defined as "checked" for it to display as checked.
TRUE
FALSE
Subscribe to:
Posts (Atom)