How to use inline CSS (Style Sheet) in HTML?
Answers
Answered by
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
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
Social Sciences,
6 months ago
Physics,
6 months ago
Math,
6 months ago
Science,
1 year ago
Geography,
1 year ago