Home >Web Front-end >HTML Tutorial >Teach you how to insert links in html

Teach you how to insert links in html

Y2J
Y2JOriginal
2017-05-23 09:18:425907browse

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. ##f846cac833987af6b6072a8940b5b7c5 Description text bae19748dcce8fec5320388bbcb83330Anchor point Links

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

XML/HTML CodeCopy content to clipboard

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

Link to Email

<a href="mailto:邮件地址"></a>

Link to ftp

<a href="ftp://ftp 地址"></a>

Link to telnet

<a href="telnet://地址"></a>

Download file

<a href="文件地址"></a>

[Related recommendations]

1 .

Html free video tutorial

2.

Teach you how to parse html under nodejs

3.

Share a super comprehensive HTML , Summary of CSS knowledge points

4.

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

5.

Html completes asynchronous uploading of files Jquery code example

The above is the detailed content of Teach you how to insert links in html. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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