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 .



3 Responses to “Launch and Open Links in New Window or Tab with _blank or _new as Target in HTML and Their Difference” 3 Responses to "Lanzamiento y abrir vínculos en nueva ventana o pestaña con _blank o _new como objetivo en HTML y su diferencia"

  1. Gustavo Ricou Gustavo Ricou
    July 9th, 2007 23:27 9 de Julio, 2007 23:27
    1

    thank you… gracias…

  2. Brian
    December 24th, 2007 12:41 24, 2007 12:41
    2

    Great Post! Gran Post! Important piece of information. Importante pieza de información.

  3. yesa Yesa
    April 10th, 2008 13:42 10 de abril de 2008 13:42
    3

    Your blog is so helpful. Su blog es tan útil. Thank you. Gracias.

Leave a Reply Deja Responder

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Puede usar estos tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Suscribirse sin comentar


Custom Search

New Articles Nuevos Artículos

Incoming Search Terms for the Article Próximos Términos de búsqueda para el artículo

html open link in new tab html abrir enlace en una nueva pestaña - -- open link in new tab html Abrir enlace en una nueva pestaña html - -- html link new tab vínculo HTML nueva pestaña - -- html link open in new tab html enlace abrirá una nueva pestaña - -- HTML open link new tab HTML enlace abierto una nueva pestaña - -- html link in new tab HTML enlace en una nueva pestaña - -- html target tab HTML objetivo ficha - -- html open in new tab HTML abrirá una nueva pestaña - -- html new tab HTML nueva pestaña - -- html link open new tab HTML enlace abierto una nueva pestaña - -- html code Open link in new tab código html Abrir enlace en una nueva pestaña - -- window.open tab window.open ficha - -- href target tab href objetivo ficha - -- html target new tab HTML objetivo nueva pestaña - -- HTML code to open link in new tab Código HTML para abrir vínculo en una nueva pestaña - -- link new tab enlace nueva pestaña - -- href new tab href nueva pestaña - -- open link in new tab html code Abrir enlace en una nueva pestaña código html - -- new tab html nueva pestaña HTML - -- target tab objetivo ficha - -- open link in a new tab html Abrir enlace en una nueva pestaña html - -- link in new tab enlace en una nueva pestaña - -- html open tab abrir la pestaña HTML - -- html open link in a new tab html Abrir enlace en una pestaña nueva - -- open link new tab html abrir nueva pestaña enlace HTML - -- a href new tab a href nueva pestaña - -- html link to new tab HTML enlace a una nueva pestaña - -- a href target tab a href objetivo ficha - -- link to new tab enlace con la nueva pestaña - -- html open in tab HTML abierta en la pestaña - -- target new tab objetivo una nueva pestaña - -- html href new tab href de HTML una nueva pestaña - -- html open new tab HTML abrir una nueva pestaña - -- html new tab link HTML nueva pestaña enlace - -- launch link in new window lanzamiento enlace en una nueva ventana - -- href in new tab href en una nueva pestaña - -- html code open in new tab html código abierto en una nueva pestaña - -- html to open link in new tab html para abrir vínculo en una nueva pestaña - -- html "open link in new tab" html "Abrir enlace en una nueva pestaña" - -- open links in new tab html abrir vínculos en una nueva pestaña html - -- all todo - -- html href target tab HTML href objetivo ficha - -- link target new tab vínculo objetivo nueva pestaña - -- code to open link in new tab código para abrir vínculo en una nueva pestaña - -- href open new tab href abrir una nueva pestaña - -- open html link in new tab html abierta enlace en una nueva pestaña - -- link in new tab html enlace en una nueva pestaña HTML - -- html opening link in new tab html apertura enlace en una nueva pestaña - -- html link opens in new tab html enlace abre en una nueva pestaña - -- open a link in a new tab html abrir un enlace en una nueva pestaña html - -- target frame new tab objetivo marco de una nueva pestaña - -- target-new: tab nuevo objetivo: ficha - -- html code for opening link in new tab código html de apertura de enlace en una nueva pestaña - -- href target new tab href objetivo nueva pestaña - -- href open in new tab href abrirá una nueva pestaña - -- html links open in new tab html enlaces se abren en una nueva pestaña - -- link new tab html enlace nueva pestaña HTML - -- html open window in new tab html ventana abierta en una nueva pestaña - -- html open in a new tab html abrirá en una nueva pestaña - -- open link in new tab code Abrir enlace en una nueva pestaña código - -- html code open link new tab html código abierto vínculo nueva pestaña - -- html open link in new window tab html Abrir enlace en nueva ventana ficha - -- a href open new tab a href abrir una nueva pestaña - -- opening link in new tab html apertura enlace en una nueva pestaña html - -- html open new tab link HTML abrir una nueva pestaña enlace - -- open in new tab link html abrirá una nueva pestaña enlace html - -- _blank new tab _blank nueva pestaña - -- html code for open in new tab código html para abrir en una nueva pestaña - -- html make link open in new tab html hacer enlace abrirá una nueva pestaña - -- html link opens new tab HTML enlace abre una nueva pestaña - -- html open links in new tab html abrir vínculos en una nueva pestaña - -- window.open tabs window.open pestañas - -- open in new tab html code abrirá una nueva pestaña de código html - -- html target tabs HTML objetivo pestañas - -- open window in tab ventana abierta en la pestaña - --