MyBlogHelp– A Blog for Digital Marketing, Affiliate Marketing, Organic Lead Generation.
  • Home
  • About
  • Contact
  • Privacy
  • Sitemap
  • BLOG
  • AFFILIATE MARKETING
    • LeadsArk
  • MORE
    • MAKE MONEY
      • ONLINE BUSINESS
      • ADSENSE
      • AFFILIATE MARKETING
    • BLOGGING
      • SEO
      • BlogSpot
      • WORPRESS
      • GOOGLE
      • COMPUTER TIPS
    • WEB DESIGN
      • HTML
      • CSS
      • BOOTSTRAP
      • JAVASCRIPT
      • JQUERY
    • WEB DESIGN
      • HTML
      • CSS
      • BOOTSTRAP
      • JAVASCRIPT
      • JQUERY
    • WEB DEVELOPMENT
      • PHP
      • WORDPRESS
  • DOWNLOADS
    • Blogger Template
    • Wordpress Theme
    • PDF

Saturday, December 1, 2018

How to use anchor Tag in HTML?

 MyBlogHelp     December 01, 2018     html     No comments   


A link is on the text or image, as soon as you click on that, you will go on the second page. Whenever you move your cursor to a link, it gets converted to a clickable hand icon. Links are basically used to go from one page to another page. Links web is the world's roads.

HTML Link

Anchor Tag

<a> Tag is used to create link in HTML. This is called anchor tag. This tag has the most basic attributes href and target. These two attributes are described below.

href

By this attribute, you define the address of the page that you want to show when the link is clicked.

href = "Page-Address(PATH or URL)"

target

target - With this attribute, you define the frame where you want to show the page. This attribute is optional. If you do not define it then the page is open in new tab. This attribute has some predefined values that you can use.

target = "frame-Name"

    1. _blank - When you define this value, your webpage is open in a new tab or window.

    2. _self - When you define this value, your webpage will open in the same tab or frame that was clicked on the link.

    3. _parent - This value opens the webpage in the parent frame.

    4. _top - This value opens in the web page full document.

custom frame - You can also define any frame of yourself. By doing so, the webpage will open in the same way.

Creating Link in HTML

As I told you to use the <a> tag to create a link by HTML. Here's how to tell you how to use it. Let's look at the general structure of this tag.

<a href="address-of-webpage"> link-Name </a>

Below is a complete example of creating links in HTML.



Running the given script above will generate the given web page.


HTML Link

Configuring Link

Links can also be configured according to your page. As you can apply, whenever you move the mouse to a link, its color becomes green and reducing the mouse becomes red.

All this can be done by the style tag. For this, you define by putting condition colon with a. These are being given below. Examples of these can be seen in tutorials with CSS.

Condition

Explanation

a: link

This condition shows a link on first-time web page.

a: visited

In this condition, the link has already been visited.

a: hover

In this condition, the cursor is moved to the link.

a: active

When you click on a link, that link is active.


Hopefully, this "HTML Tutorial - Link” would be helpful for you. If it's so please help your friends and other bloggers to share this post on social media. If you have any question related to the post, please comment on the comment box and also follow this website for more information about the blogging and SEO tips. 

Previous:- How to Format & Style in HTML?        Next:- How to use Table Tag in HTML?








  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Thank you for reading this post. Please do not enter any spam link in the comment box.

Followers

Blog Archive

  • ►  2020 (4)
    • ►  October (1)
    • ►  September (1)
    • ►  August (2)
  • ►  2019 (52)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  August (1)
    • ►  July (1)
    • ►  May (11)
    • ►  April (10)
    • ►  March (6)
    • ►  February (3)
    • ►  January (16)
  • ▼  2018 (54)
    • ▼  December (27)
      • How to use html5 nav tag?
      • How to install Google Fonts on your Blogger Blog?
      • How to use section tag in html5?
      • How to use meter tag in html5?
      • How to use time tag in html5?
      • How to use header tag in HTML5?
      • How to use figure tag in html5?
      • How to use aside tag in html5?
      • How to use details Tag in HTML5?
      • How to use wbr tag in html5?
      • How to use article tag in HTML 5 ?
      • How to use menu tag in html?
      • How to use base tag in HTML?
      • How to use HTML hr and br Tag?
      • How to use HTML address tag?
      • How to use HTML Meta Tags?
      • How to use HTML script & noscript Tag?
      • How to use DOCTYPE declaration in HTML?
      • How to use Form Tag in HTML?
      • How to use Block and Inline Tags in HTML?
      • How to use Lists in HTML?
      • How to use Image Tag in HTML?
      • How to use Table Tag in HTML?
      • How to use anchor Tag in HTML?
      • How to Format & Style in HTML?
      • How to use Heading in HTML?
      • What is Attribute in HTML?
    • ►  November (5)
    • ►  May (5)
    • ►  April (4)
    • ►  February (3)
    • ►  January (10)
  • ►  2017 (17)
    • ►  December (9)
    • ►  November (8)

Popular Posts

  • How to use the main tag in html5?
  • How to use keygen tag in html5?
  • How to use html5 mark tag to highlight text?
  • How to start Online Business without money from home?
  • What is a search engine?

Contact Us

Name

Email *

Message *

About MyBlogHelp

Most of the posts, we share on this blog related to Affiliate Marketing, Organic Lead Generation, Digital Marketing, Social Media Marketing, Make Money Online, SEO, and web design.

Featured Post

LeadArk - Affiliate Marketing | Qualified Organic Lead Generation | LeadsArk Review

Copyright © MyBlogHelp– A Blog for Digital Marketing, Affiliate Marketing, Organic Lead Generation.
Design by Md. Abdussamad | MyBlogHelp.com