Sublime Text
<!DOCTYPE html> <html> <head> <style type="text/css"> h1:active{ color:black; background-color:brown; } p:active{ color:yellow; background-color:green; } a:active{ color:red; background-color:yellow; } </style> </head> <body> <h1>Tài liệu học HTML</h1> <p>Tài liệu học CSS</p> <a href="../javascript/default.html">Tài liệu học JavaScript</a> </body> </html>
<!DOCTYPE html> <html> <head> <style type="text/css"> h1:active{ color:black; background-color:brown; } p:active{ color:yellow; background-color:green; } a:active{ color:red; background-color:yellow; } </style> </head> <body> <h1>Tài liệu học HTML</h1> <p>Tài liệu học CSS</p> <a href="../javascript/default.html">Tài liệu học JavaScript</a> </body> </html>