Is there a way to make a link in Blogger open in a new tab?
I have a basic free template with limited pages.
I want to be able to ensure that when a specific text link is clicked, it opens the corresponding link in a new tab.
For example, if a visitor clicks on "Our Service" on my website, it should open link-10: examplee.com
in a new tab.
I've attempted using target='_blank'
but it doesn't seem to work for me.
Here is the code I've been using:
<b:widget id='LinkList210' locked='true' title='Menu' type='LinkList'
version='1'>
<b:widget-settings>
<b:widget-setting name='text-9'>Documentation</b:widget-setting>
<b:widget-setting name='link-9'>http://www.example.com</b:widget-setting>
<b:widget-setting name='text-8'> Services</b:widget-setting>
<b:widget-setting name='link-7'>http://example.com</b:widget-setting>
<b:widget-setting name='link-8'>http://www.example.com</b:widget-setting>
<b:widget-setting name='text-10'>our services</b:widget-setting>
<b:widget-setting name='link-5'>http:example</b:widget-setting>
<b:widget-setting name='link-6'>http://www.example.com</b:widget-setting>
<b:widget-setting name='link-3'>#</b:widget-setting>
<b:widget-setting name='link-4'>#</b:widget-setting>
<b:widget-setting name='text-1'>_Multi Dropdown</b:widget-setting>
<b:widget-setting name='text-0'>Features</b:widget-setting>
<b:widget-setting name='text-3'>__Dropdown 2</b:widget-setting>
<b:widget-setting name='text-2'>__Dropdown 1</b:widget-setting>
<b:widget-setting name='text-5'>_ShortCodes</b:widget-setting>
<b:widget-setting name='text-4'>__Dropdown 3</b:widget-setting>
<b:widget-setting name='text-7'>_Error Page</b:widget-setting>
<b:widget-setting name='text-6'>_SiteMap</b:widget-setting>
<b:widget-setting name='sorting'>NONE</b:widget-setting>
<b:widget-setting name='link-1'>#</b:widget-setting>
<b:widget-setting name='link-2'>#</b:widget-setting>
<b:widget-setting name='link-0'>#</b:widget-setting>
<b:widget-setting name='link-10'>http://examplee.com/</b:widget-setting>
</b:widget-settings>
<b:includable id='main'>
<div class='widget-content'>
<ul itemscope='' itemtype='http://schema.org/SiteNavigationElement'>
<li><a expr:href='data:blog.homepageUrl' target='_blank'>Home</a></li>
<b:loop values='data:links' var='link'>
<li itemprop='name'><a expr:href='data:link.target' itemprop='url' target='_blank'> <data:link.name/></a></li>
</b:loop>
</ul>
</div>
</b:includable>
</b:widget>