0% found this document useful (0 votes)
3 views2 pages

QUIZ

The document is a quiz consisting of multiple-choice questions focused on HTML and CSS concepts, including tags for lists, styling methods, and the advantages of using external CSS. It covers various topics such as ordered and unordered lists, inline and internal CSS, and linking external stylesheets. Each question provides four answer options, requiring the reader to select the best answer.

Uploaded by

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

QUIZ

The document is a quiz consisting of multiple-choice questions focused on HTML and CSS concepts, including tags for lists, styling methods, and the advantages of using external CSS. It covers various topics such as ordered and unordered lists, inline and internal CSS, and linking external stylesheets. Each question provides four answer options, requiring the reader to select the best answer.

Uploaded by

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

Name: 9.

Which tag is used to define a description in a


Grade & Section: definition list?
a) <desc>
IT2 Quiz b) <description>
c) <dd>
Multiple Choice d) <dl>
Directions: Read and encircle the letter of the best
answer. 10. Which type of list would be best for listing steps in a
process?
1. What is the correct HTML tag for inserting a line a) Ordered list (<ol>)
break? b) Unordered list (<ul>)
a) <br> c) Definition list (<dl>)
b) <lb> d) Numbered list (<nl>)
c) <break>
d) <newline> 11. Which tag is used inside a <dl> list to define a term?
a) <dt>
2. Which tag is used to define the largest heading in b) <dd>
HTML? c) <dl-item>
a) <h1> d) <term>
b) <h6>
c) <head> 12. What happens if an <li> tag is used outside of an
d) <title> <ul> or <ol> list?
a) It will still work normally
3. Which tag is used to create an ordered list? b) The browser will ignore it
a) <ol> c) It will be displayed as plain text
b) <ul> d) The browser will generate an error
c) <li>
d) <list> 13. Which type of CSS is applied directly within an
HTML tag using the style attribute?
4. Which HTML tag is used to create an unordered list? a) Internal CSS
a) <ul> b) Inline CSS
b) <ol> c) External CSS
c) <list> d) Embedded CSS
d) <li>
14. Which type of CSS is written inside a <style> tag
5. Which tag is used to define list items in both ordered within the <head> section of an HTML document?
and unordered lists? a) Inline CSS
a) <list> b) Internal CSS
b) <li> c) External CSS
c) <ul> d) Embedded CSS
d) <ol>
15. Which type of CSS is stored in a separate .css file
6. Which list type is best for creating a list of definitions and linked to an HTML document?
and descriptions? a) Inline CSS
a) Ordered list (<ol>) b) Internal CSS
b) Unordered list (<ul>) c) External CSS
c) Description list (<dl>) d) Embedded CSS
d) Numbered list (<nl>)
16. What is the correct way to link an external CSS file
7. Which HTML tag is used to create a definition list? to an HTML document?
a) <dl> a) <link rel="stylesheet" href="styles.css">
b) <ol> b) <style src="styles.css">
c) <ul> c) <css file="styles.css">
d) <li> d) <script src="styles.css">

8. Which tag is used to define a term in a definition list? 17. Which type of CSS has the highest specificity by
a) <term> default?
b) <dt> a) Internal CSS
c) <df> b) Inline CSS
d) <tl>
c) External CSS 26. If an external CSS file and an internal <style> block
d) All have equal specificity define the same property for an element, which one will
be applied?
18. What happens when both internal and external CSS a) The external CSS
styles are applied to the same element? b) The internal CSS
a) The internal CSS overrides the external CSS c) The browser randomly chooses
b) The external CSS overrides the internal CSS d) Both will be ignored
c) The browser randomly selects one
d) Both styles will be ignored 27. Which of the following is an example of an inline
CSS rule?
19. What is a major advantage of using external CSS? a) <p style="color: red;">This is red text</p>
a) Styles can be applied to multiple HTML pages b) <style> p { color: red; } </style>
b) It has the highest specificity among all CSS types c) p { color: red; } inside an external .css file
c) It allows CSS to be written inside HTML elements d) <link rel="stylesheet" href="styles.css">
d) It does not require linking to an HTML document
28. Which of the following is NOT true about external
20. Which method is best for applying styles to a large CSS?
website with multiple pages? a) It makes HTML files cleaner
a) Inline CSS b) It requires an additional HTTP request
b) Internal CSS c) It has the highest specificity by default
c) External CSS d) It allows for better separation of concerns
d) JavaScript-based CSS
29. Which of the following CSS types can be used to
21. Which CSS type is best for applying quick styles to override external stylesheets?
a single element without affecting the entire document? a) Inline CSS
a) Inline CSS b) Internal CSS
b) Internal CSS c) Both Inline and Internal CSS
c) External CSS d) None of the above
d) None of the above
30. Which of the following CSS types provides the best
22. If an element has styles applied from an external separation of content and design?
stylesheet, an internal <style> block, and an inline style, a) Inline CSS
which style will take precedence? b) Internal CSS
a) External CSS c) External CSS
b) Internal CSS d) Embedded CSS
c) Inline CSS
d) The first defined style in the document

23. Where should an external CSS file be linked in an


HTML document for optimal performance?
a) Inside the <body> section
b) Inside the <head> section
c) At the very end of the document
d) Inside a <footer> tag

24. What is a key reason for using internal CSS instead


of external CSS?
a) To reduce HTTP requests and improve page speed
b) To apply styles across multiple web pages easily
c) To make CSS modifications quickly without editing
an external file
d) To allow users to change styles dynamically

25. Which of the following is an advantage of using


external CSS?
a) It loads faster than inline CSS
b) It keeps the HTML file cleaner and easier to read
c) It allows styles to be reused across multiple pages
d) All of the above

You might also like