Question by Box of Hugs: Is there a HTML code snippet for quick scrolling?
Is there a HTML code snippet for a widget that (when you click it) scrolls your screen view up/down to a certain position (Example: A button to scroll to the bottom of a page). If so, could you give it to me?
Answer by PleaseInsertACoin
If you’re just using HTML, anchors are what you’re looking for.
You set an anchor like that:
And refer to it like that:
Basically, “label” can be any string of characters (i don’t think that numbers first are allowed, but i didn’t look it up). If you wanna refer to the anchor, the href attribute must be “#” plus the name of the anchor.
What do you think? Answer below!
There are no revisions for this post.