What is Inline style?

What is Inline style?

Senior Developer Asked on December 6, 2017 in CSS.
Add Comment
1 Answer(s)

Inline style sheets allow you to add styles directly to an HTML element.
Example:
Here we’ve added CSS by using inline styles.We’ve added the styles to the <p> tag using the style attribute.


<p style="color: #000;font-size:10px;">This is the example of inline style sheets.</p>

IT Head Answered on January 22, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.