CSS – Introduction
Introduction: We can apply styles to HTML elements in 3 ways Using Style Attribute: To apply different styles to different elements in single HTML document. <html> <head> <title> Headings </title> </head> <body> <h1 style=”color:red”> Web Technologies </h1> <h2 style=”color:blue”> HTML </h2> <h2 style=”color:blue”> CSS </h2> <p style=”color:green”> CSS is used to apply styles </p> </body></html> …