Testbank Internet Applications
Testbank Internet Applications
Page 1 of 5
36. The line-height property in CSS can be used to change the spacing between lines of text within the
HTML element.
37. External stylesheets are stored in html files.
38. The color property in CSS can be used to change the color of text within an HTML element.
39. The font-weight property can be used to change the font used for text within an HTML element.
40. “text-align” is a property, and “center” is the property value.
Page 2 of 5
52. Which tag will add rows to your tables?
A. <tr> and </tr> C. <td> and </td>
B. <th> and </th> D. None of the above
53. To start a list using circles, use ______
A. <ul “circle”> C. <ul =” circle”>
B. <ul type =”circle”> D. None of the above
54. What will be the added by using <td> and </td> tag?
A. rows C. cell
B. steps D. columns
55. The HTML tags are all _______
A. in lower case C. case sensitive
B. in upper case D. not case sensitive
56. Which attribute is used to name an element uniquely?
A. class C. dot
B. id D. name
57. HTML stands for ______
A. Hyper Text Markup Language C. Hyper Tax Makes Line
B. Holistic Technical Method Library D. None of the above
58. Which tag create a check box for a form in HTML?
A. <checkbox> C. <input>
B. <select> D. None of the above
59. What are the main components of the front end of any working website?
A. HTML, CSS, Javascript C. Javascript only
B. HTML only D. Node.js
60. The HTML tag is a code that specifies the ______
A. Appearance of text on a web page C. Behavior of a web page
B. Structure of a web page D. None of the above
61. How do you add comments to the HTML document?
A. <! -- This is a comment --> C. /* This is a comment */
B. // This is a comment D. # This is a comment
62. The target attribute is used to specify ______
A. The location of the hyperlink C. Where the linked document will open
B. The text of the hyperlink D. None of the above
63. Which of the following selectors targets all elements on a web page?
A. ID selector C. Universal selector
B. Class selector D. Attribute selector
64. Which of the following selectors targets elements based on their class attribute?
A. ID selector C. Universal selector
B. Class selector D. Attribute selector
65. Which of the following properties can be used to set the background color of an HTML element?
A. color C. font-family
B. background D. text-align
Page 3 of 5
66. Which of the following properties can be used to set the font size of text within an HTML element?
A. font-size C. font-style
B. text-size D. text-decoration
67. Which of the following properties can be used to create space around elements, outside of any defined
borders within an HTML element?
A. Margin C. Borders
B. Padding D. None of the above
68. Which of the following properties can be used to create space around an element's content, inside of
any defined borders within an HTML element?
A. Margin C. Borders
B. Padding D. None of the above
69. Which of the following properties can be used to add a rounded border to an HTML element?
A. border-round C. border-radius
B. border-collapse D. None of the above
70. Which of the following properties can be used to set the text alignment of an HTML element?
A. text-align C. align-text
B. font-align D. align-font
71. How do you add comments to CSS code?
A. <! -- This is a comment --> C. /* This is a comment */
B. // This is a comment D. # This is a comment
72. Which of the following is NOT a valid way to specify color in CSS?
A. Hexadecimal notation C. HSL notation
B. RGB notation D. HTML notation
73. Which of the following is a valid value for the font-weight property in CSS?
A. normal C. bold
B. lighter D. All the above
74. Which of the following properties can be used to add a background image to an HTML element?
A. background-image C. background-color
B. image-background D. color-image
75. Which of the following properties can be used to set the font weight of text within an HTML element?
A. font-size C. font-weight
B. text-size D. text-weight
76. Which of the following properties can be used to set the font type of text within an HTML element?
A. font-style C. font-family
B. text-style D. text-family
77. Which of the following is the correct way to select all h1 headers in a div element?
A. div h1 C. h1
B. div-h1 D. All the above
78. Which of the following type of HTML tags is used to define an internal style sheet?
A. <script> C. <style>
B. <link> D. <class>
Page 4 of 5
79. Which CSS property is used to specify the space between lines?
A. line-space C. line-padding
B. line-spacing D. line-height
80. Can we link multiple stylesheets to a single page?
A. Yes C. It depends on CSS properties
B. No D. None of the above
Page 5 of 5