Launch and Open Links in New Window or Tab with _blank or _new as Target in HTML and Their Difference Poner en marcha y abrir vínculos en nueva ventana o pestaña con _blank o _new como objetivo en HTML y su diferencia
On most websites, publishers may prefer to open the links to other web pages, especially external links that open web pages out of their own sites, in a new web browser window or tab, as most of the time, clicking on a link will load the new document from the link in the same window with where the link was. En la mayoría de sitios web, los editores pueden preferir para abrir los enlaces a otras páginas web, especialmente los enlaces externos que se abren las páginas web de sus propios sitios, en una nueva ventana del navegador web o ficha, ya que la mayoría de las veces, al hacer clic en un enlace se cargue el nuevo documento desde el enlace en la misma ventana con el enlace donde estaba. In HTML web programming language, to launch the new document (web pages) from links in a new window or tab effect is typically done through the use of target attributes on those links. En HTML lenguaje de programación web, para poner en marcha el nuevo documento (páginas web) de enlaces en una nueva ventana o pestaña efecto se suele hacer mediante el uso de atributos meta en esos vínculos.
In this case, the link anchors will be using “_blank” as the value of the “target” attribute. En este caso, el vínculo anclas van a utilizar "_blank" como el valor del "objetivo" atributo. “_blank” tells the web browser to open the new document loaded from the link in a new window. "_blank" Le dice al navegador web para abrir el nuevo documento cargada desde el enlace en una nueva ventana. “target” attribute is also used in websites with frame structure to tell the web browser which frame the target page of a link should open when click. "Objetivo" atributo también se utiliza en sitios web con estructura marco para decirle al navegador web que enmarcan la página de destino de un vínculo debería abrir cuando haga clic. However, “_blank” does not require the use of any frames. Sin embargo, "_blank" no requiere el uso de cualquier marcos. The syntax or HTML code is typically as below: La sintaxis o código HTML suele ser como sigue:
<a href=”newwindow.html” target=”_blank”>New Window</A> <a href="newwindow.html" target="_blank"> Nueva Ventana </ A>
There are also publishers who use “_new” instead of “_blank” as the value for “target” attribute to open a link in new window. También hay editores que utilizan "_new" en lugar de "_blank" como el valor de "objetivo" atributo para abrir un enlace en una nueva ventana. There is actually no “_new” defined as frame target names by W3C HTML standards. En este momento no hay "_new", definidas como marco objetivo nombres de las normas HTML del W3C. The only four reserved names are “_blank”, “_parent”, “_self” and “_top”. El sólo cuatro nombres son reservados "_blank", "_parent", "_self" y "_top". However, the “_new” value works the same way as “_blank” to launch the linked web documents in new browser window because of graceful error handling by web browsers. Sin embargo, el "_new" valor de las obras del mismo modo que "_blank" para poner en marcha la página web enlazada documentos en nueva ventana del navegador a causa de elegante manejo de errores de los navegadores web. So “_new” is not a valid value for “target” attribute in link <a> anchor, and may cause inconsistent behaviour for strictly HTML compliant browser that ignores all other target names as frame target name should begin with an alphabetic character (az and AZ). Por lo tanto, "_new" no es un valor válido para el "objetivo" atributo de enlace <a> ancla, y puede causar un comportamiento incoherente por razones estrictamente navegador compatible con HTML que hace caso omiso de todos los demás nombres como objetivo marco objetivo nombre debe comenzar con un caracteres alfabéticos (az y AZ).
When “_new” is used, the web browser will look for an existing browser window that carries the “_new” handle name. Cuando "_new" se utiliza, el navegador de Internet para ver una ventana del navegador actual que lleva el "_new" manejar nombre. If there is none then browser will create and launch the target web document at new window (or new tab in browser that supports tabbed browsing), where browser is considered to be recovering from HTML error of targeting a non-existent window. Si no hay ninguno que luego navegador crear y poner en marcha el web de destino el documento en una nueva ventana (o una nueva pestaña en el navegador que soporte la navegación por pestañas), cuando el navegador se considera la recuperación de HTML error de orientación a un inexistente ventana. In this case, the new window will be named “_new”. En este caso, la nueva ventana se denomina "_new". However, if a window or a tab with “_new” handle already existed, the target page will be loaded into that window instead. Sin embargo, si una ventana o una pestaña con "_new" manejar ya existía, la página de destino serán cargados en esa ventana en lugar. Theoretically, you no need to use “_new” as the value for “target”, as any other value name (ie “newwindow” or “newtab”) will work to create a new window if the so named window hasn’t existed yet when clicked on the link. En teoría, usted no necesita usar "_new" como el valor de "objetivo", como cualquier otro valor nombre (es decir, "newwindow" o "newtab") trabajará para crear una nueva ventana si la así llamada ventana no ha existido aún Al hacer clic en el enlace.
In other word, if you want the links to open in a new window on every click, use the “_blank”. En otras palabras, si quieres los enlaces para abrir en una ventana nueva en cada clic, utilice el "_blank". And you can use “_new” or another other valid value name starting with alphabetic character to open a new window and re-use that window for any other subsequent clicks that target to the same name. Y puede utilizar "_new" otro u otra un valor válido nombre empezando con caracteres alfabéticos para abrir una nueva ventana y volver a utilizar esa ventana para cualquier otro posterior que se dirigen a los clics con el mismo nombre.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Se trata de una máquina que traduzca la página se proporciona "tal cual" sin garantía. Machine translation may be difficult to understand. La traducción automática puede resultar difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.
Share and contribute or get technical support and help at Compartir y contribuir o recibir apoyo técnico y ayudar a My Digital Life Forums Mi vida digital Foros .
Related Articles Artículos relacionados
- How to Open Links in New Tab in Safari Cómo abrir enlaces en una nueva pestaña en Safari
- How to Identify and Know Where A Link Will Open in Safari ¿Cómo identificar y saber dónde Un enlace se abrirá en Safari
- How to Open Favorites in New Tab in Internet Explorer 7 or 8 (IE7) Browser Cómo Abrir favoritos en una nueva pestaña en Internet Explorer 7 u 8 (IE7) del navegador
- Workaround to Open Bookmarks in New Tab in Firefox Solución de Apertura de favoritos en una nueva pestaña en Firefox
- Disable FireFox Tabbed Browsing Scroll Arrows and Scrolling Tabs Feature Desactivar la navegación por pestañas FireFox flechas de desplazamiento y desplazamiento pestañas característica
- How to Change Windows Explorer Default Folder ¿Cómo cambiar el Explorador de Windows por defecto la carpeta
- Switch and Jump Tabs Keyboard Shortcuts in IE7 Jump Switch y atajos de teclado pestañas en IE7
- MySpace Blocked? MySpace bloqueados? Unblock MySpace and Bypass with Proxy Access Desbloquear a MySpace y circunvalación con el acceso Proxy
- Firefox 2.0 Reviews and Comparisons Firefox 2,0 comentarios y comparaciones
- Amazon Context Links for Associates Affiliate Program Amazon contexto enlaces para los Asociados Programa de Afiliados

































July 9th, 2007 23:27 9 de Julio, 2007 23:27
thank you… gracias…
December 24th, 2007 12:41 24, 2007 12:41
Great Post! Gran Post! Important piece of information. Importante pieza de información.
April 10th, 2008 13:42 10 de abril de 2008 13:42
Your blog is so helpful. Su blog es tan útil. Thank you. Gracias.