Prev Demo
Internal Style Sheet
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>HTML Internal CSS</title> <style type="text/css"> .class1 { color: red; } .class2{ font-style:italic; width:100px; border:1px solid green; background-color:pink;; color:aqua; } </style> </head> <body> <p class="class1">TechFunda</p> <p class="class2">DotnetFunda</p> </body> </html>
Note: We DO NOT save your trial code in our database.
Output