Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?
Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?
Re: Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?
Re: Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?
Hi there Siddhi Patel,
this task has no need for
JavaScript. :eek:
Simply use existing
HTML...
Code:
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1">
<title>Page title</title>
</head>
<body>
<div id="top"></div>
<a href="#top">Top</a>
</body>
</html>