Prev Demo
CSS3
>
Active
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> p:active { color:red; background-color:lightblue; } a:active { background-color:orange; } </style> <h3>This is H3, This is Not active</h3> <br /> <p>This is P. This is Active.</p> <br /> <a href="http://www.techfunda.com">Active Link</a> <br /> <br /> <b>This is B. This is Not Active.</b> <br /> <br /> <strong>Note:</strong> Click on the Content in the page, to know the Output. </body> </html>
Note: We DO NOT save your trial code in our database.
Output