One of the features that I would love to see in wordpress core is having the text widget with a wysiwyg editor, just like the editor we use to create a new post or page and that makes it so easy for you to insert images, links and lets you easily play with your text without having to know code.
To add a link in your text widget, the html code you should use is this :
<a href=”http://yoururl“>some text</a>
The url might be an internal or external link in the form https://www.vivathemes.com , and some text , is the text visible to the user.
Sometimes when you want to point the visitor to an external site, you may want the new site to be opened in a new tab in your browser, so that the user stays in your website. In this case you add to the code target=”_blank”
So, the new code is :
<a href=”http://www.yoururl” target=”_blank”>Some text here </a>
If you want to have some space above the link, if it will be in the form of read more, like in the widgets in right sidebar of our website, you can simply add a <br/> before the link code, which will cause the link to go to next line.