Computer Science, asked by narwalnavya294, 1 year ago

How to use inline CSS (Style Sheet) in HTML?

Answers

Answered by Anonymous
2
To add inline CSS in HTML, use thestyle attribute. The style attributespecifies an inline style for an element. The attribute is used withCSS properties such as font-family, font-style, text-decoration, direction, etc.
Answered by rockstar2019
3

inline stylesheet:

It uses the style attribute in the HTML start tag.

inline CSS is used to apply CSS on a single line or element.

for example:

<p style="color:blue">Hello CSS</p>

Explanation:

  • ᴍʀᴋ. ᴛʜᴀɴᴋs ᴀɴᴅ ʙʀᴀɪɴʟɪsᴛ
Similar questions