Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to create a hyperlink at the end of a jump page by html5

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains the "html5 how to create jump page footer hyperlink", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "html5 how to create jump page footer hyperlink" bar!

Html5 create jump page footer hyperlink method: 1, in the end of the page to create an element, set it to the anchor point, syntax "..."; 2, create a hyperlink, associate it with the anchor point, syntax "point I jump to the end of the page".

The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.

In html5, you can use anchor links to jump to the end of the page.

What is an anchor link?

Link in HTML, the correct term should be called "anchor point", it named anchor point link (also known as bookmark link) is often used for those large and tedious web pages, by clicking the named anchor point, not only let us point to the document, but also point to a specific paragraph in the page, more as a "precise link" convenient tool, so that link objects close to the focus. It is convenient for visitors to view the contents of the web page. Similar to the catalog page number or chapter hint when we read a book. Marking anchors is the best way to assign to a specific part of the page.

The anchor is the locator!

Create a jump page footer hyperlink

Step 1: set the anchor point

Footer

Step 2: set the switch to start the locator

Click me to jump to the end of the page.

Sample code:

Body {height: 1000px; background-color: # FFC0CB; position: relative;} # bottom {position: absolute Bottom: 0;} click me to jump to the end of the page

Thank you for your reading, the above is the "html5 how to create jump page footer hyperlink" content, after the study of this article, I believe you on html5 how to create jump page footer hyperlink this problem has a deeper understanding, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report