name]; 2. External link, the code is [ name]."> How to jump to herf in html-HTML Tutorial-php.cn

How to jump to herf in html

coldplay.xixi
Release: 2023-01-03 09:25:46
Original
5689 people have browsed it

Herf’s method of jumping in HTML: 1. Internal link, the code is [name]; 2. External link, the code is [ name].

How to jump to herf in html

The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer. This method is suitable for all brands of computers.

Herf jump method in html:

##herfIn html, thetag means A hyperlink.

1. For general jump pages, the page that needs to be jumped is to set the address to be jumped in the href attribute.

2. When used as a button, it can be clicked, but does not jump to the page but does other processing. You need to set the href attribute to javascript:

How to jump to herf in html

##Extended information:

Usage classification

1. Internal connection

name
Copy after login

2. Anchor

namename
Copy after login

3.External link

name
Copy after login

Create a URL link with name as the representation.

4. Link description text

链接说明
Copy after login

5. Special effect link

The purpose of the special effect link is not to jump to other locations, but to achieve basic page special effects. This kind of link Requires script support.

Related learning recommendations:

html tutorial

The above is the detailed content of How to jump to herf in html. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!