CSS CheatSheet Books

Inline CSS style attribute is used to define CSS properties at each HTML element. <h1 style = "color:blue; font-size:40px; font-style: italic;"> One Compiler </h1> Internal CSS You can define CSS properties using the <style> tag in the <head> section. <head> <style> body {background-color: pink;} h1 {color: red;} h2 {color: green; font-size : 40px; font-style: italic;} </style> </head> External CSS <link> tag is used to refer to an external CSS file....

March 2, 2023 · 8 min · The Unknown Developer