Home > Web Front-end > HTML Tutorial > Introduction to the method of inserting links into html

Introduction to the method of inserting links into html

巴扎黑
Release: 2017-05-22 10:37:28
Original
1531 people have browsed it

The following editor will bring you an implementation method of inserting links into html. The editor thinks it’s pretty good, so I’ll share it with you now and give it as a reference. Let’s follow the editor and take a look.

Each web page has an address, identified by URL(). Usually when creating links within the website, relative addresses are usually used

Internal Link


##XML/HTML CodeCopy content to clipboard

  1. <a href="Link address" target="Open the target window Method(-self,-blank,-top,-parent)"> Description text a>Anchor link

The same web page can have countless anchor points, but there cannot be two anchor points with the same name


##XML/HTML Code

Copy content to clipboard

<!--创建锚点-->
<a name="锚点名称"></a>
<!--链接同页面锚点-->
<a href="#锚点名称"></a>
<!--链接不同页面锚点-->
<a href="链接的文件地址#锚点名称"></a>
Copy after login

Link to Email

Link to ftp

< /a>

Link to telnet

Download file

[Related recommendations]

1.

HTML free video tutorial

2.

Teach you how to parse html under nodejs

3.

Share a super comprehensive HTML and CSS knowledge point Summary

4.

Detailed explanation of Html5 datalist tags and dynamic matching with background data

5.

Jquery code example of Html completing asynchronous file upload

The above is the detailed content of Introduction to the method of inserting links into 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template