Re: target question
| From: | Paul M Foster | Date: | Mon, 25 Mar 2013 17:12:28 +0000 |
| Subject: | Re: target question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320680@lists.php.net to get a copy of this message | ||
On Mon, Mar 25, 2013 at 04:37:50PM +0000, Stuart Dallas wrote:
> On 25 Mar 2013, at 16:35, "Ford, Mike" <M.Ford@leedsmet.ac.uk> wrote:
>
> >> -----Original Message-----
> >> From: Paul M Foster [mailto:paulf@quillandmouse.com]
> >> Sent: 25 March 2013 16:09
> >>
> >> This behavior of the browser actually conforms to the standard as
> >> far as
> >> I know. The "target" attribute is attached only to the <a> tag,
> >> according to w3schools.com
> >
> > Actually, the W3C HTML 4.01 Recommendation says:
> >
> > target = frame-target [CI]
> >
> > This attribute specifies the name of a frame where a document
> > is to be opened.
> >
> > By assigning a name to a frame via the name attribute, authors
> > can refer to it as the "target" of links defined by other
> > elements. The target attribute may be set for elements that
> > create links (A, LINK), image maps (AREA), and forms (FORM).
> >
> > In the current HTML5 draft, target is explicitly a permitted
> > attribute of the form tag -- although I believe it was originally
> > marked as deprecated.
>
> Indeed. In fact w3schools.com is known to be a very unreliable source of information these
> days. My advice would be to avoid it at all costs!
>
> http://w3fools.com/
Interesting. I wasn't aware of this. Thanks for the info.
Paul
--
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com