devxlogo

How to enable visitors to exit a FRAMESET

How to enable visitors to exit a FRAMESET

Question:
I want visitors to my site to be able to get out of a FRAMESET whenclicking on links and images. I can’t figure out how to do this. Can you help?

Answer:
You can do it by using right after the BODY tag inyour HTML document.

Where parameter is:

framenamewill load the document in a specified frame
_blankwill load the document in a new window
_parentwill load the document into the ‘parent’ of the original window (usally used for nested frames or multiple windows
_selfwill load the document in the same frame (this is the default behavior if the TARGET is not specified).
_topwill load the document into the same window (out of the frames).

In your particular case, you will want to use:

<base target="_top">
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist