Quantcast
Channel: SharmWeb - HTML
Viewing all articles
Browse latest Browse all 2

The simplest HTML for a "Home" and "Back to top" link that works in all browsers

$
0
0
Go up, please!Simple because you can copy and paste this code to put in the footer area without changing anything. No need to put custom urls.
<a href="/">HOME</a> always links to the highest "root" domain.
<a href="#">TOP</a> is a not defined id tag that results in a link to the top of the actual page.

THE FULL CODE:
<a href="/" title="Back to the Home page"><b>HOME</b></a> | <a href="#" title="To the top of this page"><b>BACK TO TOP</b></a>

RESULTS IN:
HOME | BACK TO TOP

Put this in your site footer so it shows up on every page consistently, long or short, so it's something your visitors can count on. The Home link is useful because this is where most people would go after reaching the top navigation menu. Besides saving them some scrolling, you save them a click.

read more


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images