WBP Final Exam
An id selector begins with a _____ symbol. # : . None of the above.
#
In JavaScript, single line comments start with _____. // <!-- !! None of the above.
//
1 out of 1 points In JavaScript, the result of 4 + 3 + 2 + ' cat' will be An error. 432cat 9cat None of the above.
9cat
Use the _____ selector on <tr> to highlight table rows on mouse over: :hover :mouseover :rollover None of the above.
:hover
Which of the following is an inline element? <b> <hr> <p> All of the above.
<b>
The HTML _____ element defines a section that is quoted from another source. <blockquote> <q> <quote> None of the above.
<blockquote>
Which of the following is NOT a block element? <footer> <header> <span> None of the above.
<span>
Which of the following tags must go in the head element? <body> <h1> <p> <title>
<title>
Each table row is defined with the _____ tag. <row> <tr> <trow> None of the above.
<tr>
In CSS, Margin refers to: A border that goes around the padding Clears an area around the content. Clears an area outside the border. Where text and images appear
Clears an area outside the border
Which of the following is an inline element? <a> <cite> <span> All of the above
All of the above
JavaScript code can be placed in _____ of a web site. the body the head an external document All of the above.
All of the above.
Which of the following is a block element? <hr> <main> <p> All of the above.
All of the above.
Which of the following is an inline element? <a> <cite> <span> All of the above.
All of the above.
JavaScript identifiers are _____. case sensitive names Both A & B None of the above.
Both A & B.
Which of the following attributes for an image is not required? alt scr Neither A nor B are required. Both A and B are required.
Both A and B are required.
By default, table headings are: bold centered Both bold and centered None of the above
Both bold and centered.
_____ let a user select ONE of a limited number of choices: Checkboxes Radio buttons Select menus All of the above.
Radio buttons
_____ separate JavaScript statements. Commas Parenthesis Semicolons None of the above.
Semicolons
If you do not specify a border for the table, it will be displayed without borders. True or False
True
What does URL stand for? Uniform Resource Location Unified Resource Locator Uniform Resource Locator None of the above
Uniform Resource Locator
In CSS, Content refers to: A border that goes around the padding. Clears an area around the content. Clears an area outside the border. Where text and images appear.
Where text and images appear.
A(n) _____ file path is the full URL to an internet file. absolute extended relative None of the above.
absolute
Add the _____ property to <th> and <td> for horizontal dividers: border-bottom bottom-border border-horizontal horizontal-border
border-bottom
If you want the borders to collapse into one border, add the CSS _____ property. border-collapse collapse collapse-border None of the above
border-collapse
In CSS, the term "_____" is used when talking about design and layout. box model crate model flow model None of the above.
box model
A computer that requests a web page from a web server is called a ______. browser client customer requester
client
JavaScript can write into the browser console, using _____. console.log() document.write() innerHTML window.alert()
console.log()
JavaScript statements can be grouped together in code blocks, inside _____. curly brackets parenthesis quote marks None of the above.
curly brackets
JavaScript can write into the HTML output, using _____. console.log() document.write() innerHTML window.alert()
document.write()
HTML tags that only have a start tag are referred to as _____ elements. empty lonely unary None of the above.
empty
A JavaScript _____ is a block of JavaScript code, that can be executed when "called" for. event function method None of the above.
function
Links in HTML are called _____. anchors cyberlinks hyperlinks URLs
hyperlinks
To define a special style for a special table, add a(n) _____ attribute to the table: class id value None of the above.
id
Which of the following attributes is used to select one unique element on a web page? class id All of the above None of the above.
id
A(n) _____ element does not start on a new line and only takes up as much width as necessary. block-level inline site-level None of the above
inline
An _____ style sheet is contained in the head an HTML document. external inline internal All of the above.
internal
Which of the following CSS declarations removes the bullets from an unordered list? display: block; list-style-type: none; text-decoration: none; None of the above.
list-style-type: none;
Radio button elements in the same group must share the same _____ attribute. id name value None of the above.
name
An HTML list that is inside another HTML list is called a(n) _____ list. inserted mixed nested HTML validation rules do not allow a list inside another list.
nested
A file _____ describes the location of a file in a web site's folder structure. extension name path None of the above
path
A(n) _____ file path points to a file _____ to the current page. absolute extended relative None of the above.
relative
To make a cell span more than one row, use the _____ attribute: rows rowspan row-span rspan
rowspan
To define a pre-selected option in a select menu, add the _____ attribute to the option: checked selected true None of the above
selected
The CSS rule-set consists of a(n) _____ and a(n) _____. attribute, selector declaration, attribute selector, attribute selector, declaration
selector, declaration
The _____ attribute specifies where to open the linked document. : href target title None of the above.
target
Which of the following is NOT a part of a description list? The <dd> tag. The <dl> tag. The <dt> tag. The <dx> tag
the <dx> tag
If the table has collapsed borders, border-spacing has no effect. true or false
true
The _____ property sets the vertical alignment (like top, bottom, or middle) of the content in <th> or <td>. align valign vertical-align None of the above.
vertical-align