WEB-DEVELOPMENT-APPLICATIONS practice question 4 of 25
Which element attaches an external CSS document to a web page?
Choose your answer, then check it against the explanation and the full breakdown below.
Which element attaches an external CSS document to a web page?
Question breakdown
Key idea: An external CSS file is attached with a element in the head.
How to reach the answer
- The clue is the word 'external' CSS document.
- holds CSS written inside the page, so it does not attach an external file.
- loads JavaScript, and supplies metadata about the page.
- with rel="stylesheet" references an external CSS file.
Each option
Common trap: Choosing because it is associated with CSS, even though it is for internal styles only.
In practice: Almost every site loads shared stylesheets through tags in the head so that many pages can reuse the same CSS and browsers can cache it.
Remember: Use for external CSS and for internal CSS.
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free WEB-DEVELOPMENT-APPLICATIONS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other WEB-DEVELOPMENT-APPLICATIONS practice questions
- Question 1Given the following JavaScript code: ```javascript var n1 = 10; var n2 = "20.39"; ``` Whi…
- Question 2Which attribute displays help text in an input field without specifying an actual value f…
- Question 5Which HTML tag should a developer use to create a drop-down list?
- Question 6Which method allows the end user to enter text as an answer to a question as the page loa…
- Question 8Which layout design is easiest to manage on a variety of devices?
- Question 9Which structure tag should a developer use to place contact information on a web page?
