Which of the following is not a method to define style sheet in HTML?
(A) In-Line
(B) Embedded (C) External
(D) Intra-Line
Answers
Answer:
Contents
Introduction to style sheets
Adding style to HTML
Setting the default style sheet language
Inline style information
Header style information: the STYLE element
Media types
External style sheets
Preferred and alternate style sheets
Specifying external style sheets
Cascading style sheets
Media-dependent cascades
Inheritance and cascading
Hiding style data from user agents
Linking to style sheets with HTTP headers
14.1 Introduction to style sheets
Style sheets represent a major breakthrough for Web page designers, expanding their ability to improve the appearance of their pages. In the scientific environments in which the Web was conceived, people are more concerned with the content of their documents than the presentation. As people from wider walks of life discovered the Web, the limitations of HTML became a source of continuing frustration and authors were forced to sidestep HTML's stylistic limitations. While the intentions have been good -- to improve the presentation of Web pages -- the techniques for doing so have had unfortunate side effects. These techniques work for some of the people, some of the time, but not for all of the people, all of the time. They include:
Using proprietary HTML extensions
Converting text into images
Using images for white space control
Use of tables for page layout
Writing a program instead of using HTML
These techniques considerably increase the complexity of Web pages, offer limited flexibility, suffer from interoperability problems, and create hardships for people with disabilities.
Style sheets solve these problems at the same time they supersede the limited range of presentation mechanisms in HTML. Style sheets make it easy to specify the amount of white space between text lines, the amount lines are indented, the colors used for the text and the backgrounds, the font size and style, and a host of other details.
Explanation:
Hope it helps