Difference between new window and new tap. | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Difference between new window and new tap.

Recently in HTML challenge there was a question "if taregt='_blank', the link will open in new window". I thought that the choice is false but the answer was wrong. My thinking was that it will open in new tap.

2nd Feb 2018, 3:54 AM
Tshering Wangchuk
Tshering Wangchuk - avatar
3 Respuestas
+ 1
New window is that it opens the thing with no other tabs in the window, where as new tab you stay on the same window and it creates a new tab and opens the link.
2nd Feb 2018, 4:54 AM
Alex
Alex - avatar
0
thanks Alex. the answer should be false?
2nd Feb 2018, 5:01 AM
Tshering Wangchuk
Tshering Wangchuk - avatar
0
Well the thing is the code is the same, it just depends on their web browser they are using and how they configured that browser. With that you don't have much power over whether it opens new tab or new window.
2nd Feb 2018, 2:21 PM
Alex
Alex - avatar