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

Introduction to the method of inserting links into html

巴扎黑
巴扎黑Original
2017-05-22 10:37:281513browse

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. 8ca79161bfc3f4a317d8afae1e817491 Description text bae19748dcce8fec5320388bbcb83330Anchor 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>

Link to Email

f6460fab6a21f9f9c918ada49d52f17a5db79b134e9f6b82c0b36e0489ee08ed

Link to ftp

ceb39a6583e2b9652cb699b118960d6016ef26f8b7ea0fc89bdf90e275a93e5d

Link to telnet

2aa58ba5387721916687f0ca3466d5945db79b134e9f6b82c0b36e0489ee08ed

Download file

df2dda89a53fcc0b461f26ec313d7be55db79b134e9f6b82c0b36e0489ee08ed

[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!

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