How Do I Add a Hyperlink in HTML?

How Do I Add a Hyperlink in HTML?

When you are building a WordPress site, it is easy to add a hyperlink in the content section of a page but if you are adding text in a text widget and you want to put in a hyperlink, it may be difficult if you don’t know the html code. For example, you may want to add a link to a sister website or your ‘Contact’ page so users can easily access it.

To add a hyperlink, use the code below:

hyperlink

 

 

Additionally, if you want you link to open in a new tab, simple add target=”_blank”, like the example below:

hyperlink new tab

 

 

Lastly, if you need an image to link to something instead of text simply replace the random example text with the image source code below.  This is useful for banners or advertisements on your site.

hyperlink img

 

 

By Tony Fong

 

admin
No Comments

Post a Comment

Comment
Name
Email
Website