Home > front end >  The HTML text hyperlink is a symbol, how to return a responsibility?
The HTML text hyperlink is a symbol, how to return a responsibility?

Time:11-02

The side dishes, HTML 5, recent research has the following code in a web page in the sample:

This web sample code in the text "/" show is a hyperlink, is connected to the other network, points out the forward slash (/), is directly out of the web page,
Could you tell me how this is done? Why can't a text in this example code directly to display such as "href=" https://bbs.csdn.net/topics/www.baidu.com/"" like?
Perhaps is low-level problem for you, also please inclusion, want to know the principle and method, thank you.

CodePudding user response:

Hello:
1, you question the example code in
 & lt; Base href=https://bbs.csdn.net/> 

Is writing errors, the inside of the "/" is the "base" closing tags, labels and not on behalf of the path,
2, if you want to achieve, click on the "/" to jump to "www.baidu.com", you can refer to the code:
 & lt; html> 


<body>





Note: your & lt; Base> Labels must be written in the book & lt; head> Label inside, adopted, thank you,
  • Related