How to insert a link in html

How to insert a link in html

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

Internal Links

XML/HTML CodeCopy content to clipboard
  1. <   href = "Link address"   target = "How to open the target window (-self,-blank,-top,-parent)" > Description text </a> Anchor link

The same web page can have an unlimited number of anchors, but there cannot be two anchors with the same name.

XML/HTML CodeCopy content to clipboard
  1. <!--Create anchor point-->   
  2. <   name = "anchor name" > </ a >   
  3. <!--Link to the same page anchor-->   
  4. <   href = "#anchor name" > </ a >   
  5. <!--Link different page anchors-->   
  6. <   href = "link file address#anchor name" > </ a >   

Link to Email

<a href="mailto:email address"></a>

Link to ftp

<a href="ftp://ftp address"></a>

Link to telnet

<a href="telnet://address"></a>

Download File

<a href="File address"></a>

The above method of implementing HTML link insertion is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

<<:  How to remove the header from the element table

>>:  A brief analysis of MySQL's WriteSet parallel replication

Recommend

Basic learning and experience sharing of MySQL transactions

A transaction is a logical group of operations. E...

Solution to slow network request in docker container

Several problems were discovered during the use o...

MySQL 1130 exception, unable to log in remotely solution

Table of contents question: 1. Enable remote logi...

In-depth understanding of uid and gid in docker containers

By default, processes in the container run with r...

Summary of problems that may occur when using JDBC to connect to Mysql database

First, clarify a few concepts: JDBC: Java databas...

Tutorial on installing jdk1.8 on ubuntu14.04

1. Download jdk download address我下載的是jdk-8u221-li...

Introduction to user management under Linux system

Table of contents 1. The significance of users an...

How to use the Linux md5sum command

01. Command Overview md5sum - Calculate and verif...

How to update, package, and upload Docker containers to Alibaba Cloud

This time, we will try to package the running con...

Sample code for implementing a background gradient button using div+css3

As the demand for front-end pages continues to in...

Friendly Alternatives to Find Tool in Linux

The find command is used to search for files in a...