Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?
< advertising removed by moderator >
https://www.w3schools.com/jsref/met_win_scrollto.asp
Hi there Siddhi Patel, this task has no need for JavaScript. 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>
<!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>
~ the original bald headed old fart ~
View Tag Cloud
Forum Rules