This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15135 - The anchor in tag <a> with property "name" is very useful. Don't remove it form HTML5 please!
Summary: The anchor in tag <a> with property "name" is very useful. Don't remove it fo...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 23:58 UTC by contributor
Modified: 2011-12-14 00:30 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2011-12-09 23:58:09 UTC
Specification: http://www.w3.org/TR/html5/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
The anchor in tag <a> with property "name" is very useful. Don't remove it
form HTML5 please!

Posted from: 67.169.177.45
User agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Comment 1 Marco Kotrotsos 2011-12-10 10:26:44 UTC
(In reply to comment #0)
> Specification: http://www.w3.org/TR/html5/
> Multipage: http://www.whatwg.org/C#top
> Complete: http://www.whatwg.org/c#top
> 
> Comment:
> The anchor in tag <a> with property "name" is very useful. Don't remove it
> form HTML5 please!
> 
> Posted from: 67.169.177.45
> User agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
> Trident/5.0)

If I am not mistaken the Name attribute is recommended to be replaced with a link type of Bookmark, which is more in-line with the way HTML5 documents are structured.

http://www.w3.org/TR/html5/links.html#link-type-bookmark

Do you have any other specific use case of which it would be more suitable?
Comment 2 Marat Tanalin | tanalin.com 2011-12-10 17:30:39 UTC
(In reply to comment #0)

To make an anchor, just use 'id' attribute:

	<a href="#h-example">Link to a block</>

	<h2 id="h-example">Example block</h2>
Comment 3 Ian 'Hixie' Hickson 2011-12-14 00:30:12 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: You can use id="" in new pages. Old pages are unaffected.