Inline CSS
Inline CSS uses the style attribute to apply CSS to a single HTML element. Example: <!DOCTYPE html> <html> <body> <h1 style=”color:crimson;font-family:cursive;”>Hello World!!</h1> </body> </html> Explanation: In the above example, we used the style attribute to add CSS to a single HTML element. Disadvantages of Inline CSS: Within the inline CSS, quotations can be used, because … Read more