Computer Science, asked by lovelyhemu1748, 1 year ago

name all three methods of implementing css

Answers

Answered by tejasgupta
10

CSS stands for Cascading Style Sheets. It is used to style an HTML page. There ae three methods to implement it in a web-page. They are: Inline Style-Sheet, Internal Style-Sheet, and External Style-Sheet. All three will produce the same effect if the code in them is the same. In line Style Sheet can be used as an attribute of a tag in HTML. It syntax is

< tag style="parameter:value; parameter:value; ..." > Content Here < /tag >

Internal style sheet is placed in the head section of HTML document in the style tags. It syntax is:

< style > parameter:value; parameter:value; ... < /style >

The external style sheet is used when the code of the style sheet is placed in another file with .css file extension. In this case, the syntax is

< link rel="stylesheet" href="exact_location_of_file" / >

This link tag is placed in the head section of he HTML page.

Thus, above were the three main ways to implement CSS in HTML doc.


FuturePoet: Awesome!
tejasgupta: :)
Answered by vsyinfra8
1

The Difference Between Inline, External and InternalCSS Styles. There are three ways you can use toimplement CSS: internal, external, and inline styles....

Similar questions