Task:
Design a web page containing hyperlinks which shows underline when place cursor on it.
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hover to Hyperlinks</title>
<style>
a{
text-decoration-line: none;
}
a:hover{
text-decoration-line: underline;
}
</style>
</head>
<body>
<a href="#">Link-1</a><br>
<a href="#">Link-2</a><br>
<a href="#">Link-3</a>
</body>
</html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hover to Hyperlinks</title>
<style>
a{
text-decoration-line: none;
}
a:hover{
text-decoration-line: underline;
}
</style>
</head>
<body>
<a href="#">Link-1</a><br>
<a href="#">Link-2</a><br>
<a href="#">Link-3</a>
</body>
</html>