Talk:URI fragment

Latest comment: 11 months ago by KarstenBriksoftware in topic Does wikipedia really use :target to highlight?

Case

edit

This article should note, or make more clear, how the case of anchors in HTML can affect this function in certain web browsers.

Goes back to an old situation where some browsers (Firefox) distinguish between upper and lower case, and some (IE) don't.

So the code

<a name = "thisanchor">

then

<A href = "#ThisAnchor">ThisAnchor</a>

will work in IE, but in Firefox the anchor value will be ignored as it "does not exist". — Preceding unsigned comment added by 61.88.45.5 (talk) 05:04, 31 October 2011 (UTC)Reply

fix references to older draft

edit

A format of #t=10,20 for a section of media from 10 to 20 seconds is proposed in the Media Fragments URI 1.0 W3C Working Draft.[9]

fix this please by pointing to the newer reference I've used at some other point (speaking of W3C Proposed Recommendation) after checking that the above statement still stands for the new version — Preceding unsigned comment added by 193.92.198.178 (talk) 15:43, 8 August 2012 (UTC)Reply

Does wikipedia really use :target to highlight?

edit

The article states that "The appearance of the identified element can be changed through the :target CSS pseudoclass; Wikipedia uses this to highlight the selected reference". But, as of now, it doesn't do anything. (I'm using Chrome 51 on Windows 10, if that changes anything.) --Sincerely, Marksomnian. (talk) 16:12, 14 June 2016 (UTC)Reply

apparently Wikipedia doesn't use such a style, but i can confirm that such a style would indeed work. KarstenBriksoftware (talk) 07:19, 24 November 2023 (UTC)Reply