Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

Opening page in new window


HTML - anchor tag and HTML - target attribute:
target attribute takes two values _self and _blank.
_self opens the webpage in same window or tab.
_blank opens the webpage in new window or tab.

Interview Questions:

1. On click of a HTML hyper link, which attribute value is used to display a reference page in a fresh new tab
a. _ self
b. _blank
c. #framename
d. #new
Answer: b