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
<a href="Link address" target="Open the target window Method(-self,-blank,-top,-parent)"> Description text a>Anchor link
Copy content to clipboard<!--创建锚点-->
<a name="锚点名称"></a>
<!--链接同页面锚点-->
<a href="#锚点名称"></a>
<!--链接不同页面锚点-->
<a href="链接的文件地址#锚点名称"></a>
[Related recommendations]
1.
HTML free video tutorialTeach you how to parse html under nodejsShare a super comprehensive HTML and CSS knowledge point SummaryDetailed explanation of Html5 datalist tags and dynamic matching with background dataJquery code example of Html completing asynchronous file uploadThe 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!