Home > Article > Web Front-end > Teach you how to insert links in html
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
##f846cac833987af6b6072a8940b5b7c5 Description text bae19748dcce8fec5320388bbcb83330Anchor point Links
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 . 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!