What will you use to achieve the following benefits?

What will you use to achieve the following benefits?
1.Web site managers and authors may share style sheets across a number of documents (and sites).
2.An author may change the style sheet without requiring modifications to the document.
3.A user agent may load style sheets selectively (based on media descriptions).

What will you use to achieve the following benefits?
1.Web site managers and authors may share style sheets across a number of documents (and sites).
2.An author may change the style sheet without requiring modifications to the document.
3.A user agent may load style sheets selectively (based on media descriptions).

A.
Inline style sheet

B.
HTML

C.
Internal style sheet

D.
External style sheet

Explanation:
An external style sheet is used when the style is applied to multiple pages. A user can change the
look of an entire Web site by using an external style sheet. Each page must link to the style sheet
using the <link> tag. Following are the benefits of using the external style sheet:
1.Web site managers and authors may share style sheets across a number of documents (and sites).
2.Authors may change the style sheet without requiring modifications to the document.
3.User agents may load style sheets selectively (based on media descriptions).

Answer C is incorrect. An internal style sheet is used when a single document has a unique style and
you want to define internal styles in the head section of an HTML page by using the <style> tag.

Answer A is incorrect. An inline style loses many of the advantages of style sheets by mixing content
with presentation, but it is embedded within HTML and overrides all other style sheet settings.

Answer B is incorrect. HTML stands for Hypertext Markup Language. It is a set of markup symbols or
code used to create Web pages and define formatting specifications. The markup tells the Web
browser how to display the content of the Web page.



Leave a Reply 0

Your email address will not be published. Required fields are marked *