{"reader":"the saved page's own text as drawn by the browser, each line checked for ink on this picture (no OCR guesswork); lines marked \"read\" were read by eye on the picture where the page text list cannot reach","reading_order":[{"area":"address strip","text":"URSY.com saved copy  ·  read 2026-12-01"},{"area":"address strip","text":"https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/id","boxed_in_red":true},{"area":"page","text":"Technically, the value for an ID attribute may contain any other Unicode character. However,","box":[288,61,938,78]},{"area":"page","text":"when used in CSS selectors, either from JavaScript using APIs like","box":[288,89,761,106]},{"area":"page","text":"autocapitalize","box":[40,91,163,110]},{"area":"page","text":"Document.querySelector()","box":[292,116,503,135]},{"area":"page","text":"or in CSS stylesheets, ID attribute values must be valid","box":[512,117,901,134]},{"area":"page","text":"CSS","box":[906,117,938,134]},{"area":"page","text":"my?id","box":[288,144,967,191]},{"area":"page","text":"identifiers","box":[288,145,356,162]},{"area":"page","text":". This means that if an ID attribute value is not a valid CSS identifier (for example,","box":[356,145,932,162]},{"area":"page","text":"1234","box":[337,172,372,191]},{"area":"page","text":"or","box":[314,173,328,190]},{"area":"page","text":") then it must be escaped before being used in a selector, either using the","box":[376,173,896,190]},{"area":"page","text":"CSS.escape()","box":[292,200,398,219]},{"area":"page","text":"method or","box":[406,201,478,218]},{"area":"page","text":"manually","box":[482,201,545,218]},{"area":"page","text":".","box":[545,201,550,218]},{"area":"page","text":"For this reason, it's recommended that developers choose values for ID attributes that are valid","box":[288,245,960,262]},{"area":"page","text":"CSS identifiers that don't require escaping.","box":[288,273,591,290]},{"area":"page","text":"1234","box":[869,316,904,335]},{"area":"page","text":"Also, not all valid ID attribute values are valid JavaScript identifiers. For example,","box":[288,317,861,334]},{"area":"page","text":"is a valid","box":[913,317,975,334]},{"area":"page","text":"attribute value but not a valid JavaScript identifier. This means that the value is not a valid","box":[288,345,921,362]},{"area":"page","text":"window.1234","box":[743,372,840,391]},{"area":"page","text":"variable name, so you can't access the element using code like","box":[288,373,735,390]},{"area":"page","text":". However, you","box":[844,373,950,390]},{"area":"page","text":"window[\"1234\"]","box":[432,400,555,419]},{"area":"page","text":"can access it using","box":[288,401,423,418]},{"area":"page","text":".","box":[559,401,563,418]},{"area":"page","text":"Description","box":[288,442,448,478]},{"area":"page","text":"The purpose of the ID attribute is to identify a single element when linking (using a","box":[288,501,869,518],"boxed":true},{"area":"page","text":"fragment","box":[873,501,936,518]},{"area":"page","text":"identifier","box":[288,529,348,546]},{"area":"page","text":"), scripting, or styling (with","box":[348,529,533,546]},{"area":"page","text":"CSS","box":[538,529,571,546]},{"area":"page","text":").","box":[571,529,581,546]},{"area":"page","text":"window","box":[789,572,842,591]},{"area":"page","text":"You can access elements with ID attributes as global properties of the","box":[288,573,781,590]},{"area":"page","text":"object, where the","box":[851,573,973,590]},{"area":"page","text":"property name is the ID value, and the property value is the corresponding element. For","box":[288,601,908,618]},{"area":"page","text":"example, given this markup:","box":[288,629,487,646]},{"area":"page","text":"You can access this paragraph element in JavaScript using the following code:","box":[288,761,843,778]},{"area":"page","text":"const content = window.preamble.textContent;","read":"by eye on the picture (Claude, 2 Dec 2026): text inside an embedded picture, video frame or code panel that the page text list does not reach (js code example below the 'js Copy' label)","box":[288,850,676,867]},{"area":"page","text":"window[\"id-value\"]","box":[522,909,680,928]},{"area":"page","text":"window.idValue","box":[711,909,835,928]},{"area":"page","text":"Warning:","box":[338,910,407,927]},{"area":"page","text":"Relying on the","box":[411,910,513,927]},{"area":"page","text":"or","box":[689,910,703,927]},{"area":"page","text":"pattern is","box":[843,910,909,927]},{"area":"page","text":"dangerous and discouraged because it can lead to unexpected conflicts with existing or","box":[338,938,956,955]},{"area":"page","text":"future APIs in the browser. For example, if a browser introduces a built-in global","box":[338,966,900,983]},{"area":"page","text":"<p id=\"preamble\"></p>","read":"by eye on the picture (Lane 2 lead, 2 Dec 2026): printed over two lines or split by a link or code chip, so the page text list holds it in pieces"},{"area":"label","text":"Website problem · AI answers and citations · official source: MDN"},{"area":"label","text":"Sections that a link cannot point to"},{"area":"label","text":"Source and record: ursy.com/truth-spine/I-0050/"},{"area":"label badge","text":"URSY.com"},{"area":"label badge","text":"TRUTH SPINE"},{"area":"label badge","text":"FACT RECORD I-0050"},{"area":"label","text":"Every fact on URSY.com is recorded with its source in the URSY.com Truth Spine. Explore them all at ursy.com/truth-spine"}],"not_read":"Lines hidden on the page (for example icon names the saved copy cannot draw) are left out."}
