xFactorSchool.com(Beta)
How to Do Examples
Python Examples
HTML Examples
Code Examples
C Code Examples
C++ Code Examples
C# Code Examples
Java Code Examples
Python Code Examples
HTML Code Examples
CSS Code Examples
JavaScript Code Examples
Online Editor
C Code Editor
C++ Code Editor
C# Code Editor
Java Code Editor
Python Code Editor
HTML Code Editor
CSS Code Editor
JavaScript Code Editor
Practice how to add internal CSS to a web page
CSS Online Editor
Run Code
More CSS Sample Codes
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Add internal css in a webpage</title> <!--Internal CSS added--> <style> /* color of h1 set to green */ h1{ color: green; } </style> </head> <body> <h1>How to add internal CSS to a webpage?</h1> <p>The color of the above heading has been changed to green using internal css</p> <p>To add internal css, place the style element in the head section of the page and wtrite CSS style code inside the style element.</p> </body> </html>