Learn something new every day
More Info... by email
A popup when using HyperText Markup Language (HTML) is a separate display window that opens independently of the web page being viewed. There are a number of factors that can affect how, when and even if an HTML popup is displayed, although the default behavior of a web browser usually is to create a separate window that has only a title bar and frame, excluding toolbars or other navigation elements the browser normally would show. The HTML popup originally was designed as a way for a website to display information about some item on a page without leaving the page from which the popup originated. The mechanism for an HTML popup can be exploited for malicious purposes, so many web browsers provide features that prevent popup windows from appearing, making them a difficult navigational tool to employ in some cases.
One of the easiest ways to generate an HTML popup is to set the target frame for a standard anchor link to the value "blank". This means that, instead of causing the web browser to load the HTML document into a frame within the current page layout, a new browser window will be created and the page loaded into that new window. Using a blank frame to generate an HTML popup is a simple way to allow a user to view large images by clicking on a thumbnail, load a multimedia file such as a video, or to see the definition of a word without forcing a separate page to load in the current window. Using a blank frame does not provide a great amount of control over how the popup window will appear when generated.
There are some problems that can be encountered when using an HTML popup on a website. The most common is that browsers can prevent a popup from appearing as a solution to the risk of their being used for malicious attacks or other purposes. A related complication is that some browsers will show errors if an HTML popup attempts to load a document on a separate server, usually for security purposes. In some situations, certain features of a popup window might not be implemented identically in all browsers, possibly causing the code for the window to be disregarded.
One of our editors will review your suggestion and make changes if warranted. Note that depending on the number of suggestions we receive, this can take anywhere from a few hours to a few days. Thank you for helping to improve wiseGEEK!