/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Top of Page

Its been a while since I’ve had to use a “Top of Page” link, but I’ve forgotten the correct syntext to use.

Can anyone provide me with the aforementioned html code?

Thanks in Advance for your assistance.

Regards,

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogApr 18.2006 — The simplest way is to make sure an element at the top of your page includes an ID attribute, then link to it:
[code=html]
<h1 id="main_title">This Is the Main Title</h1>
...<!- other content here -->...
<p><a href="#main_title>Top of page</a></p>
[/code]
Copy linkTweet thisAlerts:
@BytesauthorApr 18.2006 — Thanks for coming to the aid of a forgetful sort of a Guy! -- [B]Thanks[/B]
×

Success!

Help @Bytes spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...