CBSE BOARD X, asked by Papa12345, 13 hours ago

describe in line style sheet with an appropriate example​

Answers

Answered by chiggi2k03
2

Answer:

Types of CSS:

There are ways of inserting style sheets in CSS. These ways are basically three; they are

  • The Inline Style Sheet.
  • The Internal Style Sheet.
  • The External Style Sheet.

Types of CSS (Inline, Internal & External)

The Internal style sheet has its style embedded in the head part of the HTML document of your web-page(s). That is to say that the “internal style sheet” is defined in the head section of an HTML page, by using the <style> tag.

For the Inline Style Sheet, it is almost like the Internal Style Sheet. But the difference is that the Inline Style Sheet is applied directly inside the HTML line(s) in which it is needed So now let’s look at these three style sheets one after the other.

Inline CSS:

Inline Cascading Style sheets are written inside an HTML document, directly inside an element’s tag using a Cascading Style Sheets property or attribute. Note that the styles must be directly applied to HTML tags and hence there is no need for the Cascading Style Sheets open and close tags. A typical example of an Inline Style is as given in the example below:

Inline CSS Syntax

        = <body style="background-color: blue">

hope u will be helped by this .

mark this as brainliast.

Similar questions