135k views
0 votes
Which of the following statements are true?

a. HTML document will not be displayed if I do not have closing tags
b. Without , the web page will not display the contents
c. Adding external CSS is a good practice for various reasons, including code organization
d. External CSS always has precedence over others

User Cgl
by
6.0k points

1 Answer

3 votes

Answer:

The answer is: c. Adding external CSS is a good practice for various reasons, including code organization.

Explanation:

External CSS improves maintainability in code.

Internal CSS has precedence over external CSS, it means that internal will overwrite external CSS, but abuse of internal CSS often makes hard to maintain HTML code on a large website.

Furthermore, it is much easier to modify one CSS(external) file that can impact multiple web pages than go into every HTML page and modify your styles per page. Many sites have hundred or more pages, go through each one wouldn't be productive.

User Jhutar
by
5.5k points