<!DOCTYPE html>
<html lang="en">
<head>
<title>Smooth Scrolling</title>
</head>
<body>
<button onclick="document.getElementById('target').scrollIntoView({ behavior: 'smooth' });">Go to Target</button>
<div style="height: 2000px;">
<div id="target" style="margin-top: 1800px;">Target Element</div>
</div>
</body>
</html>