ใช้ตัวเลือก CSS :link เพื่อจัดรูปแบบลิงก์ที่ยังไม่ได้เยี่ยมชมทั้งหมด คุณสามารถลองเรียกใช้โค้ดต่อไปนี้เพื่อใช้งาน :link selector -
ตัวอย่าง
<!DOCTYPE html> <html> <head> <style> a:link { background-color: orange; } </style> </head> <body> <a href="https://www.example.com">Demo Website</a>https://www.example.com/ </body> </html>