HTML <body> vlink Attribute

Example Set the visited link color to “red” in an HTML document: <html> <body vlink=”red”> <p><a href=”https://www.w3schools.com”>W3Schools.com</a></p> <p><a href=”https://www.w3schools.com/html/”>HTML Tutorial</a></p> </body> </html> Try it Yourself » Definition and Usage The vlink attribute specifies the color of visited links in a document. Browser Support Attribute vlink Yes Yes Yes Yes Yes Compatibility Notes The <body> vlink attribute is not […]

HTML <body> link Attribute

Example Set the default link color to “blue” in an HTML document: <html> <body link=”blue”> <p><a href=”https://www.w3schools.com”>W3Schools.com</a></p> <p><a href=”https://www.w3schools.com/html/”>HTML Tutorial</a></p> </body> </html> Try it Yourself » Definition and Usage The link attribute specifies the default color of unvisited links in a document. Browser Support Attribute link Yes Yes Yes Yes Yes Compatibility Notes The <body> link attribute is […]