HTML learning (8) Hyperlinks

<a href="url"> link text or picture </a>

 

Where you can use to access the id attribute tag, for example:

Local <a id="tip"> be accessed </a>

Click here to visit the <a href="#tip"> </a>

If you want to access other pages:

<a href="http://www.xxx.com#tip" target="_blank"> Click here to visit </a>

Properties target = "_ blank" acts as a new label is opened.

Guess you like

Origin www.cnblogs.com/1016391912pm/p/11525339.html