Web Technologies Final PT 2
How would you link to the named fragment #school on the page resume.html from the home page of the site?
<a href="resume.html#school">Educational Background</a>
Select the form control from the choices below that may be used to submit a form.
<input type="submit" >
Select the HTML tag below that configures a textbox with the name "email" and a width of 40 characters.
<input type="text" name="email" size="40" >
Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters.
<textarea name="feedback" rows="3" cols="60"></textarea>
Select the attribute used to limit the number of characters that a text box will accept.
MAXLENGTH
true or false A form can be used to pass information to a program or script on the web server.
True
How many scripts can be embedded in an XHTML document?
as many as you need
Use the ________ attribute to configure the width of a table border.
border
To configure the table cells to share a common border and eliminate the default space between table cells configure ________.
border-collapse: collapse;
Select the HTML tag below that configures a button that, when clicked, will automatically reset form fields to their default values.
both <input type="reset"> and <button type="reset">Reset</button>
Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone.
both <label>Phone: <input type="text" name="customerPhone" ></label> and <label for="Phone">Phone: </label><input type="text" name="customerPhone" id="Phone" >
When configuring a group of radio button form controls, the value of the ________ attribute on each radio button must be the same.
name
What attributes are valid for the <select> tag?
name, id, multiple, selected
Choose the example below of a descendent selector that configures the anchor tags with the nav element.
nav a
Set list-style-type to the value ________ to hide the display of the list markers on an ordered list.
none
________ flow displays the elements on the page in the order they appear in the web page source code.
normal
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
nth-of-type
Select the value of the type attribute that configures an HTML5 spinner control.
number
The ________ event handler is triggered when the visitor places their mouse on an object.
onmouseover
The ________ is the area between the content and the border.
padding
Use the CSS ________ property to configure the cellpadding of a table.
padding
When configuring the background color of an element, the background color is applied to both the content and ________ areas.
padding
The box model consists of a content area surrounded by:
padding, border, and margin
Select the type of form control that "disguises" the characters that are typed.
password
Use the ________ property along with the left, right and/or top property to precisely configure the position of an element.
position absolute
A ________ is an attribute or characteristic of an object.
property
Select the value of the type attribute that configures an HTML5 slider control.
range
Use ________ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.
relative
A function can ________ a value to indicate success or failure.
return
An HTML table is comprised of ________.
rows and columns
An order form contains an area for web visitors to select their state or province. You need to limit the amount of space on the form that is used for this feature. Select the form control that is best to use for this purpose.
select list
Select the form control below that does not use the <input> tag.
select list
Select the attribute used to limit the width of a text box as displayed in a browser.
size
Select the item below that lists elements used in an HTML table:
table, tr, td
Which of the following CSS3 properties configure the alignment of text within a table?
text-align
Use the ________ tag pair to configure table headings.
th
Use an id to configure a style when:
the style will apply to only one element on a page.
Use the ________ tag pair to begin and end a table row.
tr
The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
true
The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
true
true or false The input element with type="email" will cause browsers that do not support the attribute to display a text box.
true
When do you need to use a fully qualified URL in a hyperlink?
when linking to a page on an external website
Select the valid JavaScript variable name below:
myName
Choose the example below of a descendant selector that configures the anchor tags within the element assigned to the an id named special.
#special a
The CSS to create the class called myfloat that floats to the right of the other page content, has a 10px margin, and a solid border is:
.myfloat { float:right; margin:10px; border: 1px solid #000000; }
The default value for the border property for an element is:
0 px
JQuery is
a free open-source JavaScript library
Use the ________ attribute on the <form> tag to specify the name and location of the script that will process the form control values.
action
The ________ method displays a message to the user and contains one button.
alert()
JavaScript can be described as:
an object-oriented scripting language
The purpose of the ________ element is to describe the contents of a table.
caption
Which of the following CSS3 properties position the caption of a table?
caption
To define the distance between the cell text and the cell border in a table, use the ________ attribute.
cellpadding
To define the distance between the edges of each cell in a table use the ________ attribute.
cellspacing
To apply a style to one or more elements on a web page, configure a CSS ________.
class
Select the example below that could be used to clear a right float.
clear right
Which of the following will assign the value "Smith" to the variable customerName?
customerName = "Smith";
The HTML5 ________ form control provides the user with a selection of choices along with an option to enter information.
datalist
________ will cause an object not to display.
display: none;
The code to access the contents of an input box named email on a form is
document.forms[0].email.value
Choose the item below that is not a valid value for the input element's type attribute.
n the context of web page interactivity, an ________ can be described as an action taken by the user.
event
Use ________ positioning to configure the location of an element to remain the same and to not move even when the web page is scrolled within the browser viewport.
fixed
If an element is configured with ________ the other content on the page will appear to its left.
float right
Select an appropriate use of JavaScript:
form validation
A ________ is a reusable block of JavaScript statements.
function
The ________ pseudo-class configures the styles that will apply when the mouse is on a hyperlink.
hover
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?
last-of-type
The purpose of the ________ is to configure a label for a <fieldset>.
legend
Use the ________ property to configure an image to use as a bullet point in an unordered list.
list-style-image
When using the box model, the ________ is always transparent.
margin
Which of the following configures a margin for an element with the following values: top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?
margin:30px 0 0 150px;
A ________ is an action that can be performed with an object.
method
Choose the best answer below to the following question: Is the following CSS code valid? table { border: 2px #000000 solid; border-collapse: collapse6;
yes