This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 168652 - target attribute not recognized
Summary: target attribute not recognized
Status: RESOLVED INVALID
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 00:33 UTC by dominikp
Modified: 2009-07-16 20:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dominikp 2009-07-16 00:33:55 UTC
The HTML component does not recognize the "target" attribute in an <a>-tag (<a href="..." target="...">) and 
highlights it as an "unknown attribute".
This also affects code completion, as "target" is not shown in the list of available attributes.
Comment 1 Marek Fukala 2009-07-16 10:04:15 UTC
target attribute of <a> tag is allowed in HTML 4.01 and older, but not in xhtml. The completion and error checks reflect
this. Closing as invalid issue. Feel free to reopen if the targer attr doesn't work in 4.01 or older doctypes + attach
the file itself please. Thanks.
Comment 2 dominikp 2009-07-16 20:06:36 UTC
When checking the W3C's web page, I overlooked that the target attribute of the <a> tag is allowed only in 
the "transitional" doctype and tried to employ it with the "strict" dtd. I apologize.