HTML LINK

HTML LINK 

HTML links are hyperlinks. 

You can click on a link and jump to another document. 

When you move the mouse over a link, the mouse arrow will turn into a little hand.

The HTML <a> tag defines a hyperlink


<a href="https://code4uweb.blogspot.com/">Click Me</a>

.





The most important attribute of the <a> element is the href attribute, which indicates the link's destination.


TARGET ATTRIBUTE

By default, the linked page will be displayed in the current browser window. To change this, you must specify another target for the link.


The target attribute specifies where to open the linked document.

 The target attribute can have one of the following values:

  • _self - Default. Opens the document in the same window/tab as it was clicked
  • _blank - Opens the document in a new window or tab
  •  _parent - Opens the document in the parent frame
  •  _top - Opens the document in the full body of the window
<a href="https://www.w3schools.com/" target="_blank ">Visit Code4UWeb</a>
<a href="https://www.w3schools.com/" target="_self ">Visit Code4UWeb</a>
<a href="https://www.w3schools.com/" target="_parent ">Visit Code4UWeb</a>
<a href="https://www.w3schools.com/" target="_top ">Visit Code4UWeb</a>



If You Want To Lear By Video Then Now Play the Video For Learn Html







No comments:

Post a Comment

How To Use Audio In Html

 How To Use Audio In Html  Friends, if you want to put a  <audio>  in html, then you have to use the audio tag. Some examples are giv...