CodeLab
Tutorials For Everyone
Run
<!Doctype HTML> <html> <head> <title>Inline Styles</title> </head> <body> Look at the following examples to understand the use of inline styles. HTML elements have separate syles with a style attribute. <h2 style="color: white; background: red;">Inline Styles</h2> <h3 style="color: white; background: blue;">Introduction to CSS</h3> <p style="color: white; background: lightblue;">CSS is a cascading style sheet language.</p> </body> </html>