In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article Xiaobian for you to introduce in detail "what is the function of HTML link", the content is detailed, the steps are clear, the details are handled properly, I hope this article "what is the function of HTML link" can help you solve your doubts, following the editor's ideas slowly in depth, let's learn new knowledge together.
HTML hyperlinks (links)
A hyperlink can be a word, a word, or a group of words, or an image that you can click to jump to a new document or a part of the current document.
When you move the mouse pointer over a link in a web page, the arrow changes to a small hand.
We create links in HTML by using tags.
There are two ways to use tags:
By using the href property-create a link to another document
By using the name property-create a bookmark within a document
HTML Link Syntax
The linked HTML code is simple. It looks like this:
Linktext
The href attribute specifies the destination of the link.
The text between the start and end tags is displayed as a hyperlink.
Case study
VisitW3School
Clicking this hyperlink will take the user to the home page of W3School.
Tip: "linked text" does not have to be text. Pictures or other HTML elements can be links.
HTML Link-name attribute
The name attribute specifies the name of the anchor.
You can use the name property to create a bookmark in a HTML page.
The bookmark is not displayed in any special way and is not visible to the reader.
When using a named anchor (namedanchors), we can create links that jump directly to the named anchor (such as a section of the page) so that users do not have to keep scrolling the page to find the information they need.
Syntax for named anchors:
Anchor (text displayed on the page)
Tip: the name of the anchor can be any name you like.
Tip: you can use the id attribute instead of the name attribute, and named anchors are also valid.
Read here, this "what is the function of HTML link" article has been introduced, want to master the knowledge of this article also need to practice and use to understand, if you want to know more about the article, welcome to follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.