Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Summary of Changes

This section outlines all of the element and practice updates described in this article. For a complete discussion of these items, see the sections in which they are described.

Proprietary or Deprecated Feature W3C Feature or Recommended Replacement
deprecated FONT HTML 4.01 SPAN plus
CSS1 color: ; font-family: ; font-size: ;
deprecated CENTER or align="center" CSS1 text-align: center; for in-line elements like text or image
deprecated CENTER or align="center" CSS1 margin-left: auto; margin-right: auto;
for block-level elements
deprecated bgcolor CSS1 background-color: ;
non-standard EMBED HTML 4.01 OBJECT
deprecated APPLET HTML 4.01 OBJECT
non-standard MARQUEE HTML 4.01 DIV plus scripting
non-standard BGSOUND HTML 4.01 OBJECT
Proprietary or Deprecated Feature W3C Feature or Recommended Replacement
IE5+

id_attribute_value
document.all.id_attribute_value

document.all[id_attribute_value]
DOM level 2:
document.getElementById(id_attribute_value)
IE5+ FormName.InputName.value DOM level 1:

document.forms["FormName"].InputName.value

IE5+ InputName.value DOM level 1:

document.forms["FormName"].InputName.value

IE5+ FormCtrlName DOM level 1:

document.forms["FormName"].FormCtrlName

IE5+ document.forms(0) DOM level 1:

document.forms[0]

IE ElemRef.innerText DOM Level 1 (Core) interface

We could introduce DOM 3 Core textContent attribute here which is supported by Mozilla 1.5+ and is a perfect equivalent to innerText. https://www.w3.org/TR/2004/REC-DOM-Le...e3-textContent

IE5+ ElemRef.style.pixelTop DOM level 2: parseInt(ElemRef.style.top, 10)
IE5+ ElemRef.style.pixelLeft = x; ElemRef.style.pixelTop = y; DOM level 2: ElemRef.style.left = x + "px"; ElemRef.style.top = y + "px";
IE5+ new ActiveXObject("Microsoft.XMLHTTP") new XMLHttpRequest()
Proprietary or Deprecated Feature W3C Feature or Recommended Replacement

Document Tags and Contributors

 Contributors to this page: Kohei, Mgjbot, kohei.yoshino
 Last updated by: Kohei,