UPDATED ACTUAL Exam Questions and
CORRECT Answers
Method - CORRECT ANSWER - What required <form> attribute specifies the manner in
which the browser will send form data to a web server?
Action - CORRECT ANSWER - This required <form> attribute specifies the name and
location of the CGI script used to process the form
Get - CORRECT ANSWER - What <form> method attribute value instructs the browser to
append the form data to the URL for use in a query string?
Post - CORRECT ANSWER - What <form> method attribute value allows sending more
characters and is slightly more secure when submitting a Web-based form?
Part of a web document body that has opening and closing tags - CORRECT ANSWER -
In HTML, what is a container?
A container in which another element resides - CORRECT ANSWER - In HTML, what is
a parent container
<footer>, <header>, <section>, and <span> - CORRECT ANSWER - HTML elements that
are containers
<div> - CORRECT ANSWER - A block element with no semantic meaning
Inline Element - CORRECT ANSWER - WHat type of HTML element fills the minimum
space possible in the parent container and can only contain text of other elements of this type?
,<span> - CORRECT ANSWER - Generic HTML element that creates inline containers to
facilitate the managing content on a webpage. Has no semantic meaning
Inline and block elements - CORRECT ANSWER - What types of elements can be insides
a block element?
Inline elements - CORRECT ANSWER - What types of elements can be insides an inline
element?
<form> - CORRECT ANSWER - What HTML element do we use to facilitate information
gathering for submission to a server?
Enctype - CORRECT ANSWER - What HTML attribute should be used if a <form> field
contains binary data that the normal format of the query string is not sufficient to encode?
id, name, type, value, placeholder - CORRECT ANSWER - Five primary attributes for a
<input> element
text - CORRECT ANSWER - What is the <input> type attribute value of a text box
widget?
<input> - CORRECT ANSWER - Which HTML element should be used to produce a
submit button widget in form?
value - CORRECT ANSWER - Which <input> attribute allows the input to start with a
default value?
placeholder - CORRECT ANSWER - Which <input> attribute provides a hint to the user
about the information being requested?
,for - CORRECT ANSWER - Which attribute inside the <label> element is used to
associate the label with a widget?
False - CORRECT ANSWER - True of false? An <option> element must have a value
attribute.
<button> - CORRECT ANSWER - Which element can create a button with an image?
email, search, tel, url - CORRECT ANSWER - Four <input> types that exist for entering
specific types of text.
AAC, MP3 - CORRECT ANSWER - Audio formats supported by nearly all web browsers
<link rel="stylesheet" type="text/css" href="mystyle.css"> - CORRECT ANSWER -
Correct HTML for referring to an external style sheet
In the <head> section - CORRECT ANSWER - Where in an HTML document is the
correct place to refer to an external style sheet?
<style> - CORRECT ANSWER - Which HTML tag is used to define an internal style
sheet?
style - CORRECT ANSWER - Which HTML attribute is used to define inline styles?
body {color:black;} - CORRECT ANSWER - Which is the correct CSS syntax?
/* this is a comment */ - CORRECT ANSWER - How to insert CSS comment
, background-color - CORRECT ANSWER - Which property is used to change the
background color?
h1 {background-color:#FFFFFF;} - CORRECT ANSWER - Property used to add a
background color for <h1> elements?
color - CORRECT ANSWER - Which CSS property is used to change the text color of an
element?
font-size - CORRECT ANSWER - Which CSS property controls the text size?
p {font-weight:bold;} - CORRECT ANSWER - CSS syntax that makes all the <p>
elements bold
a {text-decorations:none;} - CORRECT ANSWER - How do you display hyperlinks
without an underline?
text-transform:capitalize - CORRECT ANSWER - How do you make each word in a text
start with a capital letter?
font-family - CORRECT ANSWER - Which property is used to change the font of an
element?
font-weight:bold; - CORRECT ANSWER - How to make the text bold
boder-width:top border, right, bottom, left (px) - CORRECT ANSWER - How to display a
border.
margin-left - CORRECT ANSWER - How to change the left margin of an element.