Answers 2025
What required <form> attribute specifies the manner in which the browser will send form data to a web
server? - ✔✔✔Method
This required <form> attribute specifies the name and location of the CGI script used to process the
form - ✔✔✔Action
What <form> method attribute value instructs the browser to append the form data to the URL for use
in a query string? - ✔✔✔Get
What <form> method attribute value allows sending more characters and is slightly more secure when
submitting a Web-based form? - ✔✔✔Post
In HTML, what is a container? - ✔✔✔Part of a web document body that has opening and closing tags
In HTML, what is a parent container - ✔✔✔A container in which another element resides
HTML elements that are containers - ✔✔✔<footer>, <header>, <section>, and <span>
A block element with no semantic meaning - ✔✔✔<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? - ✔✔✔Inline Element
Generic HTML element that creates inline containers to facilitate the managing content on a webpage.
Has no semantic meaning - ✔✔✔<span>
What types of elements can be insides a block element? - ✔✔✔Inline and block elements
,What types of elements can be insides an inline element? - ✔✔✔Inline elements
What HTML element do we use to facilitate information gathering for submission to a server? -
✔✔✔<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? - ✔✔✔Enctype
Five primary attributes for a <input> element - ✔✔✔id, name, type, value, placeholder
What is the <input> type attribute value of a text box widget? - ✔✔✔text
Which HTML element should be used to produce a submit button widget in form? - ✔✔✔<input>
Which <input> attribute allows the input to start with a default value? - ✔✔✔value
Which <input> attribute provides a hint to the user about the information being requested? -
✔✔✔placeholder
Which attribute inside the <label> element is used to associate the label with a widget? - ✔✔✔for
True of false? An <option> element must have a value attribute. - ✔✔✔False
Which element can create a button with an image? - ✔✔✔<button>
Four <input> types that exist for entering specific types of text. - ✔✔✔email, search, tel, url
Audio formats supported by nearly all web browsers - ✔✔✔AAC, MP3
, Correct HTML for referring to an external style sheet - ✔✔✔<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? - ✔✔✔In the
<head> section
Which HTML tag is used to define an internal style sheet? - ✔✔✔<style>
Which HTML attribute is used to define inline styles? - ✔✔✔style
Which is the correct CSS syntax? - ✔✔✔body {color:black;}
How to insert CSS comment - ✔✔✔/* this is a comment */
Which property is used to change the background color? - ✔✔✔background-color
Property used to add a background color for <h1> elements? - ✔✔✔h1 {background-color:#FFFFFF;}
Which CSS property is used to change the text color of an element? - ✔✔✔color
Which CSS property controls the text size? - ✔✔✔font-size
CSS syntax that makes all the <p> elements bold - ✔✔✔p {font-weight:bold;}
How do you display hyperlinks without an underline? - ✔✔✔a {text-decorations:none;}
How do you make each word in a text start with a capital letter? - ✔✔✔text-transform:capitalize