How to Make a Link Open in a New Tab Using HTML

The Question asked in Technical Interview for BCA/MCA Freshers:

How to Make a Link Open in a New Tab Using HTML

The basic code for any link is:

< a href=”somepage.html”> Go To somepage</a >

To Open specified link in new tab, your code should look something like this:

< a href=”somepage.html” target=”_blank”> Go To somepage</a >

By setting the target attribute as _blank, we are able to open a link in new tab.

Note: For More Interview Questions and Resume Tips visit this website daily.

We will upload most important interview questions, technical interview questions for BCA and MCA freshers.

This blog is for:
BCA MCA Freshers, Software Companies, IT Students, Training Institutes, Colleges, Teachers, Learners, Leaders, Earners,...





: for more details or any query email us: hellotechnologypark@gmail.com 



1 comment:

  1. Hey! Great post I just came across, your blog and I love it!
    I really enjoyed to read that all i will always follow You thanks for the great article.
    Web Designing Services in Nashik

    ReplyDelete

We are here to listen you, Comment your valueable opinion...!!!