<!DOCTYPE html>
<html>
<head>
<title>Titre du document</title>
<style>
.link:hover {
text-decoration: underline;
color: blue;
cursor: pointer;
}
</style>
</head>
<body>
<h1>Exemple de hyperlien avec JavaScript</h1>
<p>Visiter notre site Web</p>
<p onclick="window.open('https://www.w3docs.com/')" class="link">W3docs</p>
</body>
</html>