| Be My Friend

Previous

Next


HTML Links - Anchor Tag in HTML

HTML Links | Syntax | Example

It means if you want to give a link to another document within a website or outside of the website you can use an HTML anchor tag or hyperlink in HTML.

If any user or reader clicks on that HTML links, it takes them to another page.

If you move the mouse cursor over these HTML links, the mouse pointer changes to a hand symbol.


Syntax Explained.

1. tag <a> defines a hyperlink.

2. <href> is the attribute. it specifies the destination address of the link.

3. <url> is the destination address.

4. HTML Link Text will visible to the user or reader.



If you want to open that link to another page, then you can use the _target attribute of the tag. with the help of this link will open on the next page.


You can also use the below target attribute values to open the linked document.

  • _blank it opens the document in a new window or tab.
  • _self it opens the document in the same window.
  • _parent it opens the document in the parent frame.
  • _top Opens the document in the full body of the window.
You can also use the anchor tag with an image or an HTML document instead of text.
IF YOU LIKE OUR HTML TUTORIALS PLEASE DON'T FORGET TO SHARE

Subscribe for more videos on our Youtube channel. if you like our tutorial please Like and Subscribe to our Facebook and Youtube.



Previous

Next



YOUR COMMENTS ARE MOST IMPORTANT TO US:

0 Comments



Why basictutorials.in?

To Learn:

Tutorials in a simple Way.

Excel with downloadable samples.

HTML with sample website code.

PowerPoint presentations.

MS Word for offical use.

Useful Tutorials