Friday, September 1, 2023

Inline css in html

                      Inline CSS


 Information:

1]   Inline CSS is used to apply a unique style to a single HTML element.

2]   In inline CSS uses the  Style attribute of an HTML element.

3]   Css Apply in a Single element by inline css Technique.

 4]  Inline css also use method to insert style sheets in HTML document


Inline Css 

      Program

<html>

<head>

<title>inline property</title>

</head>

<body>

<h1 style="color:red; background-color:pink;">html</h1>

<p style="color:purple;">hyper text markup language</p>

<h3>Information</h3>s

<dl>INLINE CSS APPLY</dl>

<dd>inline csss use</dd>

<P>Css Apply in a Single element by inline css Technique.<br>

 inline css also use method to insert style sheets in HTML document.

 </P>

 <dl>syntax</dl>

 <dd><h2>element  style="css property:value"</h2></dd>

<h1 style="color:red; background-color:pink">CSS</h1>

<p style="color:purple;">cascading style sheet</p>

</body>

</html>

OUTPUT


inline css

        Visit Link

No comments:

Post a Comment