Teach you how to insert links in html

Y2J
Release: 2017-05-23 09:18:42
Original
5839 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="How to open the target window (-self,-blank,- top,-parent)"> Description text a>Anchor 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>
Copy after login

Link to Email

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

Link to ftp

<a href="ftp://ftp 地址"></a>
Copy after login

Link to telnet

<a href="telnet://地址"></a>
Copy after login

Download file

<a href="文件地址"></a>
Copy after login

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

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!