FOUNDATIONS| WGU D276 EXAM QUESTIONS
WITH VERIFIED SOLUTIONS NEW MODIFIED
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? --CORRECT
ANSWER--Inline Element
Generic HTML element that creates inline containers to facilitate the managing
content on a webpage. Has no semantic meaning --CORRECT ANSWER--
<span>
What types of elements can be insides a block element? --CORRECT
ANSWER--Inline and block elements
What types of elements can be insides an inline element? --CORRECT
ANSWER--Inline elements
What HTML element do we use to facilitate information gathering for
submission to a server? --CORRECT ANSWER--<form>
Page 1 of 72
,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? --CORRECT
ANSWER--Enctype
Five primary attributes for a <input> element --CORRECT ANSWER--id,
name, type, value, placeholder
What is the <input> type attribute value of a text box widget? --CORRECT
ANSWER--text
Which HTML element should be used to produce a submit button widget in
form? --CORRECT ANSWER--<input>
Which <input> attribute allows the input to start with a default value? --
CORRECT ANSWER--value
Which <input> attribute provides a hint to the user about the information being
requested? --CORRECT ANSWER--placeholder
Which attribute inside the <label> element is used to associate the label with a
widget? --CORRECT ANSWER--for
What required <form> attribute specifies the manner in which the browser will
send form data to a web server? --CORRECT ANSWER--Method
Page 2 of 72
,This required <form> attribute specifies the name and location of the CGI script
used to process the form --CORRECT ANSWER--Action
What <form> method attribute value allows sending more characters and is
slightly more secure when submitting a Web-based form? --CORRECT
ANSWER--Post
In HTML, what is a container? --CORRECT ANSWER--Part of a web
document body that has opening and closing tags
In HTML, what is a parent container --CORRECT ANSWER--A container in
which another element resides
HTML elements that are containers --CORRECT ANSWER--<footer>,
<header>, <section>, and <span>
A block element with no semantic meaning --CORRECT ANSWER--<div>
True of false? An <option> element must have a value attribute. --CORRECT
ANSWER--False
Which element can create a button with an image? --CORRECT ANSWER--
<button>
Page 3 of 72
, Four <input> types that exist for entering specific types of text. --CORRECT
ANSWER--email, search, tel, url
Audio formats supported by nearly all web browsers --CORRECT ANSWER--
AAC, MP3
Correct HTML for referring to an external style sheet --CORRECT ANSWER--
<link rel="stylesheet" type="text/css" href="mystyle.css">
Where in an HTML document is the correct place to refer to an external style
sheet? --CORRECT ANSWER--In the <head> section
Which HTML tag is used to define an internal style sheet? --CORRECT
ANSWER--<style>
Which HTML attribute is used to define inline styles? --CORRECT ANSWER-
-style
Which is the correct CSS syntax? --CORRECT ANSWER--body {color:black;}
How to insert CSS comment --CORRECT ANSWER--/* this is a comment */
Page 4 of 72