A href target

Back to questions réponses.

*22cf13    (2009-03-17)
A href target

Bonjour à tous,

Theoriquement (d'après moi) l'attribut Target du tag HTML Ahref devrait fonctionner comme suit :

"_blank" ouvre une nouvelle fenêtre (popup)
"_self" ouvre le document dans la frame courante
"_top" ouvre le document dans la fenêtre courante
"_parent" ouvre le document dans la fenêtre parente

Utilisé de cette façon en HTML :

<a href="url" target="_top">

Ma question est la suivante, cela fonctionne-t-il de la même façon dans les différents navigateurs à savoir Internet Explorer 7 / Mozilla Firefox / Google Chrome et Opera ?

J'ai remarqué une différence entre IE7 et Firefox en utilisant un <object data="url">. C'est vraiment casse-pieds.

Merci de vos lumières.

(more options below)

*c8ea4a    (2009-03-26 11:58:42)

Laisse tomber Chrome et Opéra, ils sont négligeables, et laisse tomber Explorer, les gens n'ont qu'à changer, c'est une vraie merde. Si tu bosses avec Firefox, tu bosses proprement.

Voir aussi

Plus de sources

Vous devez vous enregistrer pour consulter ces sources, vous pourrez alors changer leur ordre en cliquant sur les icones les précédant.

Autres sources

Ce projet est collaboratif, vous pouvez remonter les sources suivantes dans la liste si vous les trouvez utiles.

 Lesson 4: The Tags
sharkysoft > tutori

 How do I specify <a href="..." target="_blank">...</a> in XHTML STRICT? - HighDots Forums
highdots > forums/c

so how do I achieve the same result by moving it to a CSS...
, so how do I achieve the same result by moving it to a...

 How do I specify <a href="..." target="_blank">...</a> in XHTML STRICT? - bytes
bytes > groups/css/99535 how do i specify href t

 WHATWG HTML5 Forums :: View topic - [fixed] <a href="..." target="_blank"
forums.whatwg > viewtopic.php?t=142

Joined: 06 Feb 2007 Posts: 32 Location: Sometimes Utrecht,...
Joined: 05 Dec 2007 Posts: 54 Location: Casablanca,...

 <a href="http://www.hotprofilegraphics.com" target="_blank"><img src="http://www.h...
cid 13fd2253c639c077.profile.live

 Why is <a href... target="_blank"> flagged as invalid in XHTML strict? : href, _blank, target
experts exchange > Web/Web L

 Links in HTML documents
w3 > TR/REC html40/struct/links

The following example is illegal with respect to uniqueness since...
For versions of HTTP that define a Link header, user agents should...

 TARGET=_BLANK HREF to Open New Window
mhsoftware > c

Create a link on your web page to the calendar display...

  * with Javascript??? - CodingForums.com
codingforums > showthre

 Re: JavaScript popup & <a href> target - opens extra window problem

_______________________________________________ webkitsdk-dev mailing...
Safari can correctly handle JavaScript popup windows, as in the...

 problem with * opening many windows because of dojo | The Dojo Toolkit
dojotoolkit > forum/dojo 0 4 x leg

  * with Javascript??? [Archive] - CodingForums.com

You can ditch the hardcoded target attribute, as you intend to add it...
Thanks for the reply, I'm curious would that be search engine...

 [css-d] target attribute for a href
archivist.incutio > viewlist/css discuss/23871

 Hello Comments and Graphics Codes for Myspace, Friendster, Hi5
zwani > gr

 Solmetra's Support Forums • Information
forums.solmetra > bb3/viewtopic.php?f=2&

 howto: automatically change the * if href is # - Dynamic Drive Forums
dynamicdrive > forums/showthre

 Re: How do I specify <a href="..." target="_blank">...</a> in XHTML STRICT? - Open Blu Host
openbluhost > html/42627 do specify href t

 Links <strong><a href='http://www.enterprisesearch.com.au' target='_blank' title='Free Search Engine in Australia'><font color='#00000...
aulour.com > shopping/shopcontent.

Chosen Currency Australian...
The Australian Shopping Online is a comprehensive directory of...

 Terry McMiles - Industry News
thepropertymanager.com > content/cms/MRbroker /3554159

G'day Nick, it's a bit tragic that both of us are working on a...

 eZ Issue Tracker: Issue #005583: ezimage.tpl produces bare href and target - bad XHTML - eZ Publish Project
issues.ez > 5583

function HandleDeleteCommentRequest(commentID){ if (true ==...
function LoadHistory(){ if(typeof(historymanager) !=...

 window.open(this.href) vs target=”_blank” | alexking.org
alexking > blog/2005/12/30/new windows

Use of a non-personal web site or blog URL in the field below and/or...

 <a href="http://tagged.com/morales32" target="_blank"><a href="http://tagged.com/morales32" target="_blank"><a href="http://tagged.com/...
my.opera > sylvi

 Graphics comment, hi5 , Tagged, code comment, myspace, glitters
comments hi5

 List of A-1 Skyraider operators - Wikipedia, the free encyclopedia
en.wikipedia > wiki/List of

This page was last modified on 26 January 2011 at...

 <a href="xxx.htm" target="_blank"> does not work! - Tech Support Forum
techsupportforum > microsoft support/internet explorer forum/102427 href xxx htm

 Possible? <a href="asdf.html" target="_blank"> without menus, toolbar, status, etc..
velocityreviews > forums/t164499 possible lt

 AllieKatzGraphics.com - Hot, Free MySpace Graphics, MySpace Comments, and More!

 WordPress › Support » How to target the latest Post entry via <a href="" >
wordpress > support/topic/195377

 [#SAK-11796] MOTD mucks up <a href> tags in non-FCKeditor - Sakai
bugs.sakaiproject > jir

 Plans (Official City of Las Vegas Web Site)
lasvegasnevada > Public

 Why doesnt this work: <a href="http://www.w3schools.com/" target="#abc">Visit W3Schools!</a> <? - Yahoo! Answers
answers.yahoo > question/index?qid=20090213202505

Yahoo! does not evaluate or guarantee the accuracy of any Yahoo!...

  * blank - RE: target blank into one link
stylusstudio > xsllist/200409/post20610

Purchasing Stylus Studio from our online shop is Easy, Secure and...
Get our award-winning XML development environment for 50% off when...
Don't miss another message! Subscribe to this list...

customs data.com > tr


Guest name   (option)     Register
Please sum : 4692 + nine  

Trackbacks : If you talked about this article in your blog or website, you may instantly get a backlink 
There's no trackback at the moment.