The problem with the hypertext medium is that when a users click on an interesting link on your page, they might never come back. One currently popular solution to this problem is to make the target document display in a second browser window. In that way, your page is still readily available in the background.
This technique is not without controversy, however. Many users find the loss of control over their browsing experience annoying. Windows users might not even realize a new window has opened in front of their current window if they have their browsers maximized to full screen. So keep both the good and the bad in mind when deciding whether to use pop-up windows.
Use the target attribute of the anchor tag to launch a new browser window for the linked document. Setting the target attribute to "_blank" causes the browser to open a fresh browser window.
If you set every link on your page to target a _blank window, every link will launch a new window, potentially leaving your user with a mess of open windows.
A better method, especially if you have more than one link, is to give the targeted window a specific name, which can then be reused by subsequent links. The following link will open a new window called "display".
If you target every link on that page to the "display" window, each targeted document will open in the same second window.
The target attribute is most often used in conjunction with framed documents.
Some browsers do not support the target attribute (including WebTV and Internet Explorer 2.0 and earlier). Furthermore, Netscape Navigator 4.0 has a bug that prevents an existing named window from coming to the front. To the user, this looks as though the link did not work since the target document loads into a browser window that is stuck behind the current window.
Web Designing Related Interview Questions
|HTML Interview Questions||HTML 5 Interview Questions|
|Flash Interview Questions||Graphic Design Interview Questions|
|Illustrator Interview Questions||Dreamweaver Interview Questions|
|UI Developer Interview Questions||Dreamweaver CS3 Interview Questions|
|CSS Advanced Interview Questions||Web Developer Guide Interview Questions|
|Log Shipping Interview Questions||Spring Boot Interview Questions|
|UI Designer Interview Questions||Bootstrap 4 Interview Questions|
Web Designing Related Practice Tests
|HTML Practice Tests||HTML 5 Practice Tests|
|Flash Practice Tests||Graphic Design Practice Tests|
|Illustrator Practice Tests||Dreamweaver Practice Tests|
|UI Developer Practice Tests||Dreamweaver CS3 Practice Tests|
|Web Developer Guide Practice Tests||Advanced jQuery Practice Tests|
Web Designing Tutorial
Designing For A Variety Of Browsers
Designing For A Variety Of Displays
Web Design Principles For Print Designers
A Beginners Guide To The Server
Printing From The Web
Structural Html Tags
Adding Images And Other Page Elements
Specifying Color In Html
Cascading Style Sheets
Server Side Includes
Designing Graphics With The Web Palette
Audio On The Web
Video On The Web
Flash And Shockwave
Introduction To Smil
Introduction To Dhtml
Introduction To Xml
Wap And Wml
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.