0% found this document useful (0 votes)
14 views5 pages

Testbank Internet Applications

The document is a test bank for Internet Applications, focusing on HTML and CSS concepts. It includes true/false questions and multiple-choice questions covering topics such as HTML structure, tags, attributes, CSS properties, and selectors. The test aims to assess knowledge of web development fundamentals.

Uploaded by

loayofficial
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views5 pages

Testbank Internet Applications

The document is a test bank for Internet Applications, focusing on HTML and CSS concepts. It includes true/false questions and multiple-choice questions covering topics such as HTML structure, tags, attributes, CSS properties, and selectors. The test aims to assess knowledge of web development fundamentals.

Uploaded by

loayofficial
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Suez Canal University

Faculty of Commerce - English Section

Test bank - Internet Applications


Choose T or F
1. HTML is used to create the structure of a web page.
2. HTML is a programming language.
3. HTML tags are used to define the content and structure of a web page.
4. HTML elements always have opening and closing tags.
5. HTML comments are visible on the web page.
6. HTML attributes provide additional information about an HTML element.
7. The alt attribute is used to specify the location of an image.
8. The colspan attribute is used to specify the number of rows a cell should span.
9. Inline elements are displayed on the same line as surrounding content.
10. A radio button input field can be created using the <input> tag with the "radio" type attribute.
11. A dropdown list can be created using the <select> and <option> tags.
12. The <textarea> tag is used to create a single-line text input field in HTML.
13. The HTML <strong> element defines text with strong importance. The content inside is typically
displayed in bold.
14. The HTML <sup> element defines superscript text. Superscript text appears half a character below
the normal line and is sometimes rendered in a smaller font.
15. An inline element always starts on a new line, and the browsers automatically add some space (a
margin) before and after the element.
16. The <div> element defines a division or a section in an HTML document.
17. A block-level element only takes up as much width as necessary.
18. Multiple HTML elements can share the same class.
19. The <script> tag is used to add JavaScript code to an HTML document.
20. The HTML class attribute is used to specify a unique id for an HTML element.
21. The HTML element is a container for content, while the HTML attribute provides additional
information about that content.
22. HTML is used to create the structure of a web page, while CSS is used to style it.
23. CSS stands for Creative Style Sheets.
24. CSS can be used to change the font, color, and layout of a web page.
25. CSS is a programming language.
26. The background color of an HTML element can be changed using CSS.
27. CSS can be used to create rounded corners on the HTML elements.
28. CSS selectors are used to target HTML elements for styling.
29. The universal selector (%) targets all elements on a web page.
30. The ID selector targets HTML elements with a specific ID attribute.
31. The background-image property in CSS can be used to add a background image to an HTML element.
32. CSS code is only placed within a <style> tag in the HTML document.
33. The selector in CSS points to the HTML element you want to style.
34. The text-decoration property can be used to change the alignment of text within an HTML element.
35. Multiple CSS declarations are separated with semicolons, and declaration blocks are surrounded by
curly braces.

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.

Choose the correct letter A, B, C, or D


41. HTML is a subset of ______
A. SGMD C. SGML
B. SGMH D. None of the above
42. To create HTML page, you need _____
A. Web browser C. Both [A] and [B]
B. Text editor D. None of the above
43. The tag used for creating hypertext and hypermedia links is _____
A. <HR> C. <PRE>
B. <BR> D. <A>
44. The BODY tag is usually used after ______
A. HTML tag C. EM tag
B. HEAD tag D. TITLE tag
45. Choose the correct HTML tag to make a text italic.
A. <i> C. <it>
B. <italic> D. <il>
46. What does the <br> tag add to your webpage?
A. Long break C. Line break
B. Paragraph break D. None of the above
47. The main container for <TR>, <TD> and <TH> is _______
A. <DATA> C. <TABLE>
B. <GROUP> D. None of the above
48. What is the correct HTML for creating a hyperlink?
A. <a name = ”https://w.w.w.google.com”> Google.com</a>
B. <a url = ”https://w.w.w.google.com> Google.com</a>
C. <a>https://w.w.w.google.com</a>
D. <a href = ”https://www.google.com”> Google.com</a>
49. Choose the correct HTML tag for the largest heading.
A. <h1> C. <h4>
B. <h2> D. <h6>
50. What kind of list will <ol> tags create?
A. Bulleted list C. Unordered list
B. Numbered list D. None of the above
51. Which tag adds a paragraph break after the text?
A. <BR> C. <PARAGRAPH>
B. <P> D. <HR>

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

You might also like