How To Create Next and Previous Buttons.
CODE
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
a {
text-decoration: none;
display: inline-block;
padding: 8px 16px;
}
a:hover {
background-color: #ddd;
color: black;
}
.previous {
background-color: #f1f1f1;
color: black;
}
.next {
background-color: #4CAF50;
color: white;
}
.round {
border-radius: 50%;
}
</style>
</head>
<body>
<h2>Previous and Next Buttons</h2>
<a href="#" class="previous">« Previous</a>
<a href="#" class="next">Next »</a>
<a href="#" class="previous round">‹</a>
<a href="#" class="next round">›</a>
</body>
</html>
No comments