Launch and Open Links in New Window or Tab with _blank or _new as Target in HTML and Their Difference Lancement et ouvrir des liens dans une nouvelle fenêtre ou onglet avec _blank _new ou comme cible, en formats HTML et leur différence

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. Sur la plupart des sites Web, les éditeurs préfèrent mai d'ouvrir des liens vers d'autres pages Web, en particulier les liens externes qui ouvrent les pages Web de leurs propres sites, dans une nouvelle fenêtre de navigateur web ou un onglet, comme la plupart du temps, en cliquant sur un lien de charge le nouveau document à partir du lien dans la même fenêtre de là où était le lien. 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 langage de programmation Web, de lancer le nouveau document (pages Web) à partir de liens dans une nouvelle fenêtre ou onglet effet est réalisée grâce à l'utilisation des attributs de l'objectif sur ces liens.

In this case, the link anchors will be using “_blank” as the value of the “target” attribute. Dans ce cas, le lien sera ancres en utilisant "_blank" comme la valeur de l ' "objectif" attribut. “_blank” tells the web browser to open the new document loaded from the link in a new window. "_blank" Raconte le navigateur Web pour ouvrir le nouveau document chargé à partir du lien dans une nouvelle fenêtre. “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. "Cible" est également utilisé dans des sites Web avec structure de dire le navigateur Web qui encadrent la page cible d'un lien doit s'ouvrir lorsque clic. However, “_blank” does not require the use of any frames. Toutefois, "_blank" ne requiert pas l'utilisation de tous les cadres. The syntax or HTML code is typically as below: La syntaxe HTML ou le code est généralement comme suit:

<a href=”newwindow.html” target=”_blank”>New Window</A> <a href="newwindow.html" target="_blank"> Nouvelle fenêtre </ A>

There are also publishers who use “_new” instead of “_blank” as the value for “target” attribute to open a link in new window. Il existe également des éditeurs qui utilisent "_new" au lieu de "_blank" comme valeur pour "cible" attribut d'ouvrir un lien dans une nouvelle fenêtre. There is actually no “_new” defined as frame target names by W3C HTML standards. Il est en fait pas de "_new" cadre défini comme objectif de noms par le W3C standards HTML. The only four reserved names are “_blank”, “_parent”, “_self” and “_top”. Les seuls quatre noms sont réservés "_blank", "_parent", "_self" et "_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. Toutefois, le "_new" valeur fonctionne de la même manière que "_blank" pour lancer l'liées documents Web dans une nouvelle fenêtre de navigateur gracieux en raison de la gestion des erreurs par les navigateurs 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). Ainsi, "_new" n'est pas une valeur valide pour "cible" attribut dans <a> lien ancre, mai et cause pour comportement incompatible strictement navigateur compatible HTML qui ignore tous les autres noms comme cible cadre cible nom doit commencer par un caractère alphabétique (az et AZ).

When “_new” is used, the web browser will look for an existing browser window that carries the “_new” handle name. Lorsque "_new" est utilisé, le navigateur Web sera en vigueur pour une fenêtre de navigateur qui porte le "_new" handle nom. 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. S'il n'y en a pas alors le navigateur de créer et de lancer la cible document Web à une nouvelle fenêtre (ou nouvel onglet dans navigateur Web qui supporte la navigation par onglets), où navigateur est considérée comme la récupération de HTML erreur de ciblage un inexistante fenêtre. In this case, the new window will be named “_new”. Dans ce cas, la nouvelle fenêtre sera nommé "_new". However, if a window or a tab with “_new” handle already existed, the target page will be loaded into that window instead. Toutefois, si une fenêtre ou un onglet avec "_new" handle existait déjà, la page cible sera chargée dans cette fenêtre la place. 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. Théoriquement, vous n'avez besoin d'utiliser "_new" comme valeur pour "objectif", comme tout autre nom de valeur (c'est-à-dire "newWindow" ou "newtab") travaillera à créer une nouvelle fenêtre si le nom de la fenêtre n'existe pas encore lorsque cliqué sur le lien.

In other word, if you want the links to open in a new window on every click, use the “_blank”. En d'autres termes, si vous voulez des liens pour ouvrir dans une nouvelle fenêtre sur chaque clic, utilise le "_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. Et vous pouvez utiliser "_new" ou un autre valeur valide nom commençant par caractère alphabétique pour ouvrir une nouvelle fenêtre et de la réutilisation de cette fenêtre pour la suite tout autre objectif que de clics sur le même nom.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANT: Il s'agit d'une machine qui traduit la page est fourni «tel quel», sans garantie. Machine translation may be difficult to understand. La traduction automatique mai être difficile à comprendre. Please refer to S’il vous plaît se référer à original English article article original anglais whenever possible. chaque fois que possible.

Share and contribute or get technical support and help at Partagez et contribuer ou obtenir de l'aide technique et l'aide à My Digital Life Forums Ma vie numérique forums .



3 Responses to “Launch and Open Links in New Window or Tab with _blank or _new as Target in HTML and Their Difference” 3 réponses à "Lancement et ouvrir des liens dans une nouvelle fenêtre ou onglet avec _blank _new ou comme cible, en formats HTML et leur différence"

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

    thank you… merci…

  2. Brian
    December 24th, 2007 12:41 Décembre 24th, 2007 12:41
    2

    Great Post! Grande Poste! Important piece of information. Élément d'information important.

  3. yesa Yesa
    April 10th, 2008 13:42 Avril 10e, 2008 13:42
    3

    Your blog is so helpful. Votre blog est vraiment très utiles. Thank you. Merci.

Leave a Reply Laisser un commentaire

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> Vous pouvez utiliser ces balises: <a href="" title="fete_christel <abbr title="fete_christel <acronym title="fete_christel <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting S'abonner sans commentaires


Custom Search

New Articles Nouveaux Articles

Incoming Search Terms for the Article Des termes de recherche utilisés pour l'article

html open link in new tab html le lien dans un nouvel onglet - -- open link in new tab html Ouvrir le lien dans un nouvel onglet html - -- html link new tab html lien nouvel onglet - -- html link open in new tab html lien ouvert dans un nouvel onglet - -- HTML open link new tab Ouvert HTML lien nouvel onglet - -- html link in new tab HTML lien dans un nouvel onglet - -- html target tab HTML cible onglet - -- html open in new tab html ouvert dans un nouvel onglet - -- html new tab HTML nouvel onglet - -- html link open new tab html lien ouvrir un nouvel onglet - -- html code Open link in new tab code html Ouvrir le lien dans un nouvel onglet - -- window.open tab window.open onglet - -- href target tab href cible onglet - -- html target new tab HTML cible nouvel onglet - -- HTML code to open link in new tab Code HTML pour ouvrir un lien dans un nouvel onglet - -- link new tab lien nouvel onglet - -- href new tab href nouvel onglet - -- open link in new tab html code Ouvrir le lien dans un nouvel onglet code html - -- new tab html nouvel onglet HTML - -- target tab cible onglet - -- open link in a new tab html Ouvrir le lien dans un nouvel onglet html - -- link in new tab lien dans un nouvel onglet - -- html open tab ouvert HTML onglet - -- html open link in a new tab html Ouvrir le lien dans un nouvel onglet - -- open link new tab html le lien nouvel onglet HTML - -- a href new tab href un nouvel onglet - -- html link to new tab html lien vers nouvel onglet - -- a href target tab a href cible onglet - -- link to new tab lien vers nouvel onglet - -- html open in tab HTML s'ouvrent dans l'onglet - -- target new tab cibler de nouveaux onglet - -- html href new tab HTML href nouvel onglet - -- html open new tab HTML ouvrir un nouvel onglet - -- html new tab link HTML nouvel onglet lien - -- launch link in new window lancer le lien dans une nouvelle fenêtre - -- href in new tab href dans un nouvel onglet - -- html code open in new tab code html ouvert dans un nouvel onglet - -- html to open link in new tab html pour ouvrir un lien dans un nouvel onglet - -- html "open link in new tab" html "Ouvrir le lien dans un nouvel onglet" - -- open links in new tab html ouvrir des liens dans un nouvel onglet html - -- all tous - -- html href target tab HTML href cible onglet - -- link target new tab la cible nouvel onglet - -- code to open link in new tab code pour ouvrir un lien dans un nouvel onglet - -- href open new tab href ouvrir un nouvel onglet - -- open html link in new tab ouvrir, html, lien dans un nouvel onglet - -- link in new tab html lien dans un nouvel onglet HTML - -- html opening link in new tab html ouverture de lien dans un nouvel onglet - -- html link opens in new tab html lien ouvre dans un nouvel onglet - -- open a link in a new tab html ouvrir un lien dans un nouvel onglet html - -- target frame new tab cadre cible nouvel onglet - -- target-new: tab nouvelle cible: onglet - -- html code for opening link in new tab code html pour l'ouverture de lien dans un nouvel onglet - -- href target new tab href cible nouvel onglet - -- href open in new tab href ouvert dans un nouvel onglet - -- html links open in new tab liens html ouvert dans un nouvel onglet - -- link new tab html lien nouvel onglet HTML - -- html open window in new tab html fenêtre ouverte dans un nouvel onglet - -- html open in a new tab html ouvert dans un nouvel onglet - -- open link in new tab code Ouvrir le lien dans un nouvel onglet code - -- html code open link new tab code html le lien nouvel onglet - -- html open link in new window tab html ouvrir le lien dans une nouvelle fenêtre onglet - -- a href open new tab href ouvert un nouvel onglet - -- opening link in new tab html ouverture de lien dans un nouvel onglet html - -- html open new tab link HTML ouvrir un nouvel onglet lien - -- open in new tab link html Ouvrir dans un nouvel onglet lien html - -- _blank new tab _blank nouvel onglet - -- html code for open in new tab code html pour ouvrir dans un nouvel onglet - -- html make link open in new tab faire des liens html ouvert dans un nouvel onglet - -- html link opens new tab html lien ouvre un nouvel onglet - -- html open links in new tab html ouvrir des liens dans un nouvel onglet - -- window.open tabs window.open onglets - -- open in new tab html code Ouvrir dans un nouvel onglet code html - -- html target tabs HTML cible onglets - -- open window in tab fenêtre ouverte dans l'onglet - --