FOUNDATIONS EXAMS BUNDLED NEW
UPDATE PRACTICE SCRIPT 2026
QUESTIONS WITH ANSWERS GRADED A+
⫸ This required <form> attribute specifies the name and location of the
CGI script used to process the form Answer: Action
⫸ What <form> method attribute value allows sending more characters
and is slightly more secure when submitting a Web-based form?
Answer: Post
⫸ In HTML, what is a container? Answer: Part of a web document body
that has opening and closing tags
⫸ In HTML, what is a parent container Answer: A container in which
another element resides
⫸ HTML elements that are containers Answer: <footer>, <header>,
<section>, and <span>
⫸ A block element with no semantic meaning Answer: <div>
,⫸ 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?
Answer: Inline Element
⫸ Generic HTML element that creates inline containers to facilitate the
managing content on a webpage. Has no semantic meaning Answer:
<span>
⫸ What types of elements can be insides a block element? Answer:
Inline and block elements
⫸ What types of elements can be insides an inline element? Answer:
Inline elements
⫸ What HTML element do we use to facilitate information gathering
for submission to a server? Answer: <form>
⫸ 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? Answer: Enctype
⫸ Five primary attributes for a <input> element Answer: id, name, type,
value, placeholder
⫸ What is the <input> type attribute value of a text box widget?
Answer: text
,⫸ Which HTML element should be used to produce a submit button
widget in form? Answer: <input>
⫸ Which <input> attribute allows the input to start with a default value?
Answer: value
⫸ Which <input> attribute provides a hint to the user about the
information being requested? Answer: placeholder
⫸ Which attribute inside the <label> element is used to associate the
label with a widget? Answer: for
⫸ True of false? An <option> element must have a value attribute.
Answer: False
⫸ Which element can create a button with an image? Answer: <button>
⫸ Four <input> types that exist for entering specific types of text.
Answer: email, search, tel, url
⫸ Audio formats supported by nearly all web browsers Answer: AAC,
MP3
, ⫸ Correct HTML for referring to an external style sheet 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? Answer: In the <head> section
⫸ Which HTML tag is used to define an internal style sheet? Answer:
<style>
⫸ Which HTML attribute is used to define inline styles? Answer: style
⫸ Which is the correct CSS syntax? Answer: body {color:black;}
⫸ How to insert CSS comment Answer: /* this is a comment */
⫸ Which property is used to change the background color? Answer:
background-color
⫸ Property used to add a background color for <h1> elements? Answer:
h1 {background-color:#FFFFFF;}
⫸ Which CSS property is used to change the text color of an element?
Answer: color
⫸ Which CSS property controls the text size? Answer: font-size