차례
  1. 11 폐기된 기능
    1. 11.1 폐기되었지만 올바른 기능
      1. 11.1.1 폐기되었지만 올바른 기능에 대한 경고
    2. 11.2 올바르지 않은 기능
    3. 11.3 구현 요구사항
      1. 11.3.1 applet 요소
      2. 11.3.2 marquee 요소
      3. 11.3.3 프레임
      4. 11.3.4 기타 요소와 속성, API

11 폐기된 기능

11.1 폐기되었지만 올바른 기능

준수사항 검사기에서 이 섹션에 나열된 기능에 경고를 표시할 것입니다.

Features listed in this section will trigger warnings in conformance checkers.

meta 요소의 http-equiv 속성에 Content Language 선언을 사용하지 말아야 합니다. 대신 lang 속성을 사용하십시오.

Authors should not specify an http-equiv attribute in the Content Language state on a meta element. The lang attribute should be used instead.

img 요소에 border 속성을 사용하지 말아야 합니다. 속성을 사용했다면, 그 값은 반드시 "0" 이어야 합니다. 대신 CSS를 사용하십시오.

Authors should not specify a border attribute on an img element. If the attribute is present, its value must be the string "0". CSS should be used instead.

script 요소에 language 속성을 사용하지 말아야 합니다. 속성을 사용했다면, 그 값은 "JavaScript" (아스키, 대소문자 구분 없이)여야 하고, type 속성을 사용하지 않거나, 사용했다면 그 값은 반드시 "text/javascript" (아스키, 대소문자 구분 없이) 여야 합니다. 이 속성은 완전히 생략하거나, 또는 type 속성으로 교체해야 합니다.

Authors should not specify a language attribute on a script element. If the attribute is present, its value must be an ASCII case-insensitive match for the string "JavaScript" and either the type attribute must be omitted or its value must be an ASCII case-insensitive match for the string "text/javascript". The attribute should be entirely omitted instead (with the value "JavaScript", it has no effect), or replaced with use of the type attribute.

a 요소에 name 속성을 사용하지 말아야 합니다. 만약 사용했다면 그 값은 비어있지 않아야 하며, 또한 문서ID 중 어느것과도 일치하지 않아야 하며(단, 요소 자신의 ID는 허용합니다), 문서에서 다른 a 요소에 사용한 name 중 어느것과도 일치하지 않아야 합니다. 만약 이 속성을 사용했고 그 요소가 ID를 가졌다면, 속성의 값은 요소의 ID와 반드시 일치해야 합니다. 이 속성은 언어의 이전 버전에서 URL의 조각 식별자(#)에서 가능한 대상을 명시할 의도로 만들었습니다. ID 속성을 대신 사용해야 합니다.

Authors should not specify the name attribute on a elements. If the attribute is present, its value must not be the empty string and must neither be equal to the value of any of the IDs in the element's home subtree other than the element's own ID, if any, nor be equal to the value of any of the other name attributes on a elements in the element's home subtree. If this attribute is present and the element has an ID, then the attribute's value must be equal to the element's ID. In earlier versions of the language, this attribute was intended as a way to specify possible targets for fragment identifiers in URLs. The id attribute should be used instead.

HTML 문법에서는 폐기되었지만 허용되는 DOCTYPE 을 명시하는 것 역시 경고를 표시할 것입니다.

In the HTML syntax, specifying a DOCTYPE that is an obsolete permitted DOCTYPE will also trigger a warning.

table 섹션에서 정의된 summary 속성 역시 경고를 표시할 것입니다.

The summary attribute, defined in the table section, will also trigger a warning.

11.1.1 폐기되었지만 올바른 기능에 대한 경고

To ease the transition from HTML4 Transitional documents to the language defined in this specification, and to discourage certain features that are only allowed in very few circumstances, conformance checkers are required to warn the user when the following features are used in a document. These are generally old obsolete features that have no effect, and are allowed only to distinguish between likely mistakes (regular conformance errors) and mere vestigial markup or unusual and discouraged practices (these warnings).

The following features must be categorized as described above:

Conformance checkers must distinguish between pages that have no conformance errors and have none of these obsolete features, and pages that have no conformance errors but do have some of these obsolete features.

For example, a validator could report some pages as "Valid HTML" and others as "Valid HTML with warnings".

11.2 올바르지 않은 기능

다음에 나열되는 요소들은 완전히 폐기된 것이며, 사용할 수 없습니다.

Elements in the following list are entirely obsolete, and must not be used by authors:

명세의 원본이 알아보기 쉽지 않아 테이블로 다시 만들었습니다.

금지된 요소 대신 사용해야 할 것
applet

embed요소 또는 object요소를 사용하십시오.

Use embed or object instead.

acronym

abbr요소를 사용하십시오.

Use abbr instead.

bgsound

audio 요소를 사용하십시오.

Use audio instead.

dir

ul 요소를 사용하십시오.

Use ul instead.

frame
frameset
noframes

iframe과 CSS를 사용하거나, 다양한 파트들을 병합해서 하나의 완전한 페이지를 만드는 서버사이드 인클루드를 사용하십시오.

Either use iframe and CSS instead, or use server-side includes to generate complete pages with the various invariant parts merged in.

isindex

명시적인 form요소와 텍스트 필드를 사용하십시오.

Use an explicit form and text field combination instead.

listing
xmp

pre요소나 code요소를 사용하십시오.

Use pre and code instead.

nextid

GUID를 사용하십시오.

Use GUIDs instead.

noembed

Use object instead of embed when fallback is necessary.

plaintext

Use the "text/plain" MIME type instead.

rb

ruby 요소 내부에서 ruby 베이스를 직접 제공하는 것으로 충분하며, rb 요소는 불필요합니다. 이것을 전부 생략하십시오.

Providing the ruby base directly inside the ruby element is sufficient; the rb element is unnecessary. Omit it altogether.

strike

Use del instead if the element is marking an edit, otherwise use s instead.

basefont
big
blink
center
font
marquee
multicol
nobr
spacer
tt
u

이러한 것 대신에 적절한 요소 및 CSS를 사용하십시오.

Use appropriate elements and/or CSS instead.

tt 요소를 사용한 목적에 대해, 키보드 입력을 의도했다면 kbd 요소를, 변수를 나타내려는 의도였다면 var 요소를, 컴퓨터 코드를 의도했다면 code 요소를, 컴퓨터 출력을 의미했다면 samp 요소를 대신 사용할 것을 고려하십시오.

Where the tt element would have been used for marking up keyboard input, consider the kbd element; for variables, consider the var element; for computer code, consider the code element; and for computer output, consider the samp element.

이와 흡사하게, u 요소를 사용한 목적이 강조였다면 em 요소를, 키워드였다면 b 요소를, 참조 목적으로 텍스트를 강조할 의도였다면 mark 요소를 대신 사용할 것을 고려하십시오.

Similarly, if the u element is being used to indicate emphasis, consider using the em element; if it is being used for marking up keywords, consider the b element; and if it is being used for highlighting text for reference purposes, consider the mark element.

더 많은 제안과 예제들을 보려면 텍스트 레벨 시맨틱 요약을 참고하십시오.

See also the text-level semantics usage summary for more suggestions with examples.

다음의 속성(요소는 여전히 언어의 일부입니다)은 폐기되었으며, 사용해서는 안됩니다.

금지된 속성 (요소가 아닙니다) 대신 사용해야 할 것
charset (a, link)

링크된 자원에서 HTTP Content-Type 헤더를 대신 사용하십시오.

Use an HTTP Content-Type header on the linked resource instead.

coords, shape (a)

이미지 맵에는 a 요소가 아니라 area 요소를 사용합니다.

Use area instead of a for image maps.

methods (a, link)

HTTP OPTIONS 기능을 사용하십시오.

Use the HTTP OPTIONS feature instead.

name (a, embed, img, option)

id 속성을 대신 사용하십시오.(단, a의 경우 이전의 섹션에서 명기한 경우는 예외로 합니다.)

Use the id attribute instead.

rev (a, link)

반대의 개념으로 rel 속성을 대신 사용합니다. (예를 들어, rev="made" 대신 rel="author" 입니다)

Use the rel attribute instead, with an opposite term. (For example, instead of rev="made", use rel="author".)

urn (a, link)

href 속성을 대신 사용하십시오.

Specify the preferred persistent identifier using the href attribute instead.

nohref (area)

href 속성을 생략하는 것으로 충분하며 이 속성은 불필요합니다.

Omitting the href attribute is sufficient; the nohref attribute is unnecessary. Omit it altogether.

profile (head)

문서에 어떤 meta 개념을 사용했는지 선언할 목적이었다면, 불필요합니다. 이름을 등록하십시오.

When used for declaring which meta terms are used in the document, unnecessary; omit it altogether, and register the names.

사용자 에이전트의 특정한 동작을 발생시킬 의도였다면 link 요소를 사용하십시오.

When used for triggering specific user agent behaviors: use a link element instead.

version (html)

불필요합니다. 제거하십시오.

Unnecessary. Omit it altogether.

usemap (input)

이미지 맵을 위해서는 input 대신 img 요소를 사용하십시오.

Use img instead of input for image maps.

longdesc (iframe, img)

설명으로 연결하려면 일반적인 a 요소를 사용하십시오. 이미지의 경우라면 이미지 맵을 사용해서 그 이미지의 설명으로 연결하십시오.

Use a regular a element to link to the description, or (in the case of images) use an image map to provide a link from the image to the image's description.

lowsrc (img)

두개의 이미지를 사용하지 말고, 프로그레시브 JPEG 이미지(src속성으로 지정합니다.)를 사용하십시오.

Use a progressive JPEG image (given in the src attribute), instead of using two separate images.

target (link)

불필요합니다. 제거하십시오.

Unnecessary. Omit it altogether.

scheme (meta)

필드 하나당 하나의 스키마 만 사용하거나, 값에 해당하는 스키마 선언 부분을 만드십시오.

Use only one scheme per field, or make the scheme declaration part of the value.

archive, classid, code, codebase, codetype (object)

플러그인을 실행하려면 datatype 속성을 사용하십시오. 이런 이름의 매개변수를 설정하려면 param 요소를 사용할 수 있습니다.

Use the data and type attributes to invoke plugins. To set parameters with these names in particular, the param element can be used.

declare (object)

자원을 재사용하려고 할 때 마다 object 요소를 다시 사용하십시오.

Repeat the object element completely each time the resource is to be reused.

standby (object)

연결된 자원을, 빠르게, 아니면, 최소한 점진적으로 로드될 수 있도록 최적화하십시오.

Optimize the linked resource so that it loads quickly or, at least, incrementally.

type, valuetype (param)

값의 타입을 선언하지 말고 namevalue 속성을 사용하십시오.

Use the name and value attributes without declaring value types.

language (script)

type 속성을 대신 사용하십시오. (단, 이전 섹션에서 명기한 경우는 예외로 합니다)

Use the type attribute instead.

event, for (script)

DOM 이벤트 메커니즘을 통해 이벤트 리스너를 등록하십시오. [DOMEVENTS]

Use DOM Events mechanisms to register event listeners. [DOMEVENTS]

datapagesize (table)

불필요합니다. 제거하십시오.

Unnecessary. Omit it altogether.

abbr (td, th)

먼저 간결하면서 분명한 서두로 시작하고, 뒤에 더욱 자세한 내용을 덧붙이는 식으로 텍스트를 작성하십시오. 셀의 내용이 간결해질 수 있도록 title 속성을 사용해서 자세한 텍스트를 첨가하는 방법도 유용할 수 있습니다.

Use text that begins in an unambiguous and terse manner, and include any more elaborate text after that. The title attribute can also be useful in including more detailed text, so that the cell's contents can be made terse.

axis (td, th)

관련된 th 요소에 scope 속성을 사용하십시오.

Use the scope attribute on the relevant th.

datasrc (a, applet, button, div, frame, iframe, img, input, label, legend, marquee, object, option, select, span, table, textarea)
datafld (a, applet, button, div, fieldset, frame, iframe, img, input, label, legend, marquee, object, param, select, span, textarea)
dataformatas (button, div, input, label, legend, marquee, object, option, select, span, table)

페이지를 동적으로 생성하는 스크립트와 XMLHttpRequest 같은 메커니즘을 사용하십시오. [XHR]

Use script and a mechanism such as XMLHttpRequest to populate the page dynamically. [XHR]

alink, bgcolor, link, marginbottom, marginheight, marginleft, marginright, margintop, marginwidth, text, vlink (body)
clear (br)
align (caption)
align, char, charoff, valign, width (col)
align (div)
compact (dl)
align, hspace, vspace (embed)
align, color, noshade, size, width (hr)
align (h1h6
align, allowtransparency, frameborder, hspace, marginheight, marginwidth, scrolling, vspace (iframe)
align, hspace, vspace (input)
align, border, hspace, vspace (img)
align (legend)
type (li)
compact (menu)
align, border, hspace, vspace (object)
compact (ol)
align (p)
width (pre)
align, bgcolor, border, cellpadding, cellspacing, frame, rules, width (table)
align, char, charoff, valign (tbody, thead, tfoot)
align, bgcolor, char, charoff, height, nowrap, valign, width (td, th)
align, bgcolor, char, charoff, valign (tr)
compact, type (ul)
background (body, table, thead, tbody, tfoot, tr, td, th)

CSS를 사용하십시오.(단, img 요소에 사용한 border 속성의 경우 앞 섹션에서 명기한 경우는 예외로 합니다.)

Use CSS instead.

11.3 구현 요구사항

11.3.1 The applet element

The applet element is a Java-specific variant of the embed element. The applet element is now obsoleted so that all extension frameworks (Java, .NET, Flash, etc) are handled in a consistent manner.

When the element is still in the stack of open elements of an HTML parser or XML parser, and when the element is not in a Document, and when the element's document is not fully active, and when the element's Document's browsing context had its sandboxed plugins browsing context flag when that Document was created, and when the element's Document was parsed from a resource whose sniffed type as determined during navigation is text/html-sandboxed, and when the element has an ancestor media element, and when the element has an ancestor object element that is not showing its fallback content, and when no Java Language runtime plugin is available, and when one is available but it is disabled, the element represents its contents.

Otherwise, the user agent should instantiate a Java Language runtime plugin, and should pass the names and values of all the attributes on the element, in the order they were added to the element, with the attributes added by the parser being ordered in source order, and then a parameter named "PARAM" whose value is null, and then all the names and values of parameters given by param elements that are children of the applet element, in tree order, to the plugin used. If the plugin supports a scriptable interface, the HTMLAppletElement object representing the element should expose that interface. The applet element represents the plugin.

The applet element is unaffected by the CSS 'display' property. The Java Language runtime is instantiated even if the element is hidden with a 'display:none' CSS style.

The applet element must implement the HTMLAppletElement interface.

interface HTMLAppletElement : HTMLElement {
           attribute DOMString align;
           attribute DOMString alt;
           attribute DOMString archive;
           attribute DOMString code;
           attribute DOMString codeBase;
           attribute DOMString height;
           attribute unsigned long hspace;
           attribute DOMString name;
           attribute DOMString _object; // the underscore is not part of the identifier  
           attribute unsigned long vspace;
           attribute DOMString width;
};

The align, alt, archive, code, height, hspace, name, object, vspace, and width IDL attributes must reflect the respective content attributes of the same name. For the purposes of reflection, the applet element's object content attribute is defined as containing a URL.

The codeBase IDL attribute must reflect the codebase content attribute, which for the purposes of reflection is defined as containing a URL.

11.3.2 The marquee element

The marquee element is a presentational element that animates content. CSS transitions and animations are a more appropriate mechanism.

The task source for tasks mentioned in this section is the DOM manipulation task source.

The marquee element must implement the HTMLMarqueeElement interface.

interface HTMLMarqueeElement : HTMLElement {
           attribute DOMString behavior;
           attribute DOMString bgColor;
           attribute DOMString direction;
           attribute DOMString height;
           attribute unsigned long hspace;
           attribute long loop;
           attribute unsigned long scrollAmount;
           attribute unsigned long scrollDelay;
           attribute boolean trueSpeed;
           attribute unsigned long vspace;
           attribute DOMString width;
 
           attribute Function onbounce;
           attribute Function onfinish;
           attribute Function onstart;
 
  void start();
  void stop();
};

A marquee element can be turned on or turned off. When it is created, it is turned on.

When the start() method is called, the marquee element must be turned on.

When the stop() method is called, the marquee element must be turned off.

When a marquee element is created, the user agent must queue a task to fire a simple event named start at the element.


The behavior content attribute on marquee elements is an enumerated attribute with the following keywords (all non-conforming):

Keyword State
scroll scroll
slide slide
alternate alternate

The missing value default is the scroll state.


The direction content attribute on marquee elements is an enumerated attribute with the following keywords (all non-conforming):

Keyword State
left left
right right
up up
down down

The missing value default is the left state.


The truespeed content attribute on marquee elements is a boolean attribute.


A marquee element has a marquee scroll interval, which is obtained as follows:

  1. If the element has a scrolldelay attribute, and parsing its value using the rules for parsing non-negative integers does not return an error, then let delay be the parsed value. Otherwise, let delay be 85.

  2. If the element does not have a truespeed attribute, and the delay value is less than 60, then let delay be 60 instead.

  3. The marquee scroll interval is delay, interpreted in milliseconds.


A marquee element has a marquee scroll distance, which, if the element has a scrollamount attribute, and parsing its value using the rules for parsing non-negative integers does not return an error, is the parsed value interpreted in CSS pixels, and otherwise is 6 CSS pixels.


A marquee element has a marquee loop count, which, if the element has a loop attribute, and parsing its value using the rules for parsing integers does not return an error or a number less than 1, is the parsed value, and otherwise is −1.

The loop IDL attribute, on getting, must return the element's marquee loop count; and on setting, if the new value is different than the element's marquee loop count and either greater than zero or equal to −1, must set the element's loop content attribute (adding it if necessary) to the valid integer that represents the new value. (Other values are ignored.)

A marquee element also has a marquee current loop index, which is zero when the element is created.

The rendering layer will occasionally increment the marquee current loop index, which must cause the following steps to be run:

  1. If the marquee loop count is −1, then abort these steps.

  2. Increment the marquee current loop index by one.

  3. If the marquee current loop index is now equal to or greater than the element's marquee loop count, turn off the marquee element and queue a task to fire a simple event named finish at the marquee element.

    Otherwise, if the behavior attribute is in the alternate state, then queue a task to fire a simple event named bounce at the marquee element.

    Otherwise, queue a task to fire a simple event named start at the marquee element.


The following are the event handlers (and their corresponding event handler event types) that must be supported, as content and IDL attributes, by marquee elements:

Event handler Event handler event type
onbounce bounce
onfinish finish
onstart start

The behavior, direction, height, hspace, vspace, and width IDL attributes must reflect the respective content attributes of the same name.

The bgColor IDL attribute must reflect the bgcolor content attribute.

The scrollAmount IDL attribute must reflect the scrollamount content attribute. The default value is 6.

The scrollDelay IDL attribute must reflect the scrolldelay content attribute. The default value is 85.

The trueSpeed IDL attribute must reflect the truespeed content attribute.

11.3.3 프레임

The frameset element acts as the body element in documents that use frames.

The frameset element must implement the HTMLFrameSetElement interface.

interface HTMLFrameSetElement : HTMLElement {
           attribute DOMString cols;
           attribute DOMString rows;
           attribute Function onafterprint;
           attribute Function onbeforeprint;
           attribute Function onbeforeunload;
           attribute Function onblur;
           attribute Function onerror;
           attribute Function onfocus;
           attribute Function onhashchange;
           attribute Function onload;
           attribute Function onmessage;
           attribute Function onoffline;
           attribute Function ononline;
           attribute Function onpagehide;
           attribute Function onpageshow;
           attribute Function onpopstate;
           attribute Function onredo;
           attribute Function onresize;
           attribute Function onscroll;
           attribute Function onstorage;
           attribute Function onundo;
           attribute Function onunload;
};

The cols and rows IDL attributes of the frameset element must reflect the respective content attributes of the same name.

The frameset element must support the following event handler content attributes exposing the event handlers of the Window object:

The DOM interface also exposes event handler IDL attributes that mirror those on the Window element.

The onblur, onerror, onfocus, onload, and onscroll event handler IDL attributes of the Window object, exposed on the frameset element, shadow the generic event handler IDL attributes with the same names normally supported by HTML elements.


The frame element defines a nested browsing context similar to the iframe element, but rendered within a frameset element.

When the browsing context is created, if a src attribute is present, the user agent must resolve the value of that attribute, relative to the element, and if that is successful, must then navigate the element's browsing context to the resulting absolute URL, with replacement enabled, and with the frame element's document's browsing context as the source browsing context.

Whenever the src attribute is set, the user agent must resolve the value of that attribute, relative to the element, and if that is successful, the nested browsing context must be navigated to the resulting absolute URL, with the frame element's document's browsing context as the source browsing context.

When the browsing context is created, if a name attribute is present, the browsing context name must be set to the value of this attribute; otherwise, the browsing context name must be set to the empty string.

Whenever the name attribute is set, the nested browsing context's name must be changed to the new value. If the attribute is removed, the browsing context name must be set to the empty string.

When content loads in a frame, after any load events are fired within the content itself, the user agent must queue a task to fire a simple event named load at the frame element. When content fails to load (e.g. due to a network error), then the user agent must queue a task to fire a simple event named error at the element instead.

The task source for the tasks above is the DOM manipulation task source.

When there is an active parser in the frame, and when anything in the frame is delaying the load event of the frame's browsing context's active document, the frame must delay the load event of its document.

The frame element must implement the HTMLFrameElement interface.

interface HTMLFrameElement : HTMLElement {
           attribute DOMString frameBorder;
           attribute DOMString longDesc;
           attribute DOMString marginHeight;
           attribute DOMString marginWidth;
           attribute DOMString name;
           attribute boolean noResize;
           attribute DOMString scrolling;
           attribute DOMString src;
  readonly attribute Document contentDocument;
  readonly attribute WindowProxy contentWindow;
};

The name, scrolling, and src IDL attributes of the frame element must reflect the respective content attributes of the same name.

The frameBorder IDL attribute of the frame element must reflect the element's frameborder content attribute.

The longDesc IDL attribute of the frame element must reflect the element's longdesc content attribute, which for the purposes of reflection is defined as containing a URL.

The marginHeight IDL attribute of the frame element must reflect the element's marginheight content attribute.

The marginWidth IDL attribute of the frame element must reflect the element's marginwidth content attribute.

The noResize IDL attribute of the frame element must reflect the element's noresize content attribute.

The contentDocument IDL attribute of the frame element must return the Document object of the active document of the frame element's nested browsing context.

The contentWindow IDL attribute must return the WindowProxy object of the frame element's nested browsing context.

11.3.4 기타 요소와 속성, API

User agents must treat acronym elements in a manner equivalent to abbr elements in terms of semantics and for purposes of rendering.


[Supplemental]
interface HTMLAnchorElement {
           attribute DOMString coords;
           attribute DOMString charset;
           attribute DOMString name;
           attribute DOMString rev;
           attribute DOMString shape;
};

The coords, charset, name, rev, and shape IDL attributes of the a element must reflect the respective content attributes of the same name.


[Supplemental]
interface HTMLAreaElement {
           attribute boolean noHref;
};

The noHref IDL attribute of the area element must reflect the element's nohref content attribute.


The basefont element must implement the HTMLBaseFontElement interface.

interface HTMLBaseFontElement : HTMLElement {
           attribute DOMString color;
           attribute DOMString face;
           attribute long size;  
};

The color, face, and size IDL attributes of the basefont element must reflect the respective content attributes of the same name.


[Supplemental]
interface HTMLBodyElement {
           attribute DOMString text;
           attribute DOMString bgColor;
           attribute DOMString background;
           attribute DOMString link;
           attribute DOMString vLink;
           attribute DOMString aLink;
};

The text IDL attribute of the body element must reflect the element's text content attribute.

The bgColor IDL attribute of the body element must reflect the element's bgcolor content attribute.

The background IDL attribute of the body element must reflect the element's background content attribute. (The background content is not defined to contain a URL, despite rules regarding its handling in the rendering section above.)

The link IDL attribute of the body element must reflect the element's link content attribute.

The aLink IDL attribute of the body element must reflect the element's alink content attribute.

The vLink IDL attribute of the body element must reflect the element's vlink content attribute.


[Supplemental]
interface HTMLBRElement {
           attribute DOMString clear;
};

The clear IDL attribute of the br element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLTableCaptionElement {
           attribute DOMString align;
};

The align IDL attribute of the caption element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLTableColElement {
           attribute DOMString align;
           attribute DOMString ch;
           attribute DOMString chOff;
           attribute DOMString vAlign;
           attribute DOMString width;
};

The align and width IDL attributes of the col element must reflect the respective content attributes of the same name.

The ch IDL attribute of the col element must reflect the element's char content attribute.

The chOff IDL attribute of the col element must reflect the element's charoff content attribute.

The vAlign IDL attribute of the col element must reflect the element's valign content attribute.


User agents must treat dir elements in a manner equivalent to ul elements in terms of semantics and for purposes of rendering.

The dir element must implement the HTMLDirectoryElement interface.

interface HTMLDirectoryElement : HTMLElement {
           attribute boolean compact;
};

The compact IDL attribute of the dir element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLDivElement {
           attribute DOMString align;
};

The align IDL attribute of the div element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLDListElement {
           attribute boolean compact;
};

The compact IDL attribute of the dl element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLEmbedElement {
           attribute DOMString align;
           attribute DOMString name;
};

The name and align IDL attributes of the embed element must reflect the respective content attributes of the same name.


The font element must implement the HTMLFontElement interface.

interface HTMLFontElement : HTMLElement {
           attribute DOMString color;
           attribute DOMString face;
           attribute DOMString size;  
};

The color, face, and size IDL attributes of the font element must reflect the respective content attributes of the same name.


[Supplemental]
interface HTMLHeadingElement {
           attribute DOMString align;
};

The align IDL attribute of the h1h6 elements must reflect the content attribute of the same name.


The profile IDL attribute on head elements (with the HTMLHeadElement interface) is intentionally omitted. Unless so required by another applicable specification, implementations would therefore not support this attribute. (It is mentioned here as it was defined in a previous version of the DOM specifications.)


[Supplemental]
interface HTMLHRElement {
           attribute DOMString align;
           attribute DOMString color;
           attribute boolean noShade;
           attribute DOMString size;
           attribute DOMString width;
};

The align, color, size, and width IDL attributes of the hr element must reflect the respective content attributes of the same name.

The noShade IDL attribute of the hr element must reflect the element's noshade content attribute.


[Supplemental]
interface HTMLHtmlElement {
           attribute DOMString version;
};

The version IDL attribute of the html element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLIFrameElement {
           attribute DOMString align;
           attribute DOMString frameBorder;
           attribute DOMString longDesc;
           attribute DOMString marginHeight;
           attribute DOMString marginWidth;
           attribute DOMString scrolling;
};

The align and scrolling IDL attributes of the iframe element must reflect the respective content attributes of the same name.

The frameBorder IDL attribute of the iframe element must reflect the element's frameborder content attribute.

The longDesc IDL attribute of the iframe element must reflect the element's longdesc content attribute, which for the purposes of reflection is defined as containing a URL.

The marginHeight IDL attribute of the iframe element must reflect the element's marginheight content attribute.

The marginWidth IDL attribute of the iframe element must reflect the element's marginwidth content attribute.


[Supplemental]
interface HTMLImageElement {
           attribute DOMString name;
           attribute DOMString align;
           attribute DOMString border;
           attribute unsigned long hspace;
           attribute DOMString longDesc;
           attribute unsigned long vspace;
};

The name, align, border, hspace, and vspace IDL attributes of the img element must reflect the respective content attributes of the same name.

The longDesc IDL attribute of the img element must reflect the element's longdesc content attribute, which for the purposes of reflection is defined as containing a URL.


[Supplemental]
interface HTMLInputElement {
           attribute DOMString align;
           attribute DOMString useMap;
};

The align IDL attribute of the input element must reflect the content attribute of the same name.

The useMap IDL attribute of the input element must reflect the element's usemap content attribute.


[Supplemental]
interface HTMLLegendElement {
           attribute DOMString align;
};

The align IDL attribute of the legend element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLLIElement {
           attribute DOMString type;
};

The type IDL attribute of the li element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLLinkElement {
           attribute DOMString charset;
           attribute DOMString rev;
           attribute DOMString target;
};

The charset, rev, and target IDL attributes of the link element must reflect the respective content attributes of the same name.


User agents must treat listing elements in a manner equivalent to pre elements in terms of semantics and for purposes of rendering.


[Supplemental]
interface HTMLMenuElement {
           attribute boolean compact;
};

The compact IDL attribute of the menu element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLMetaElement {
           attribute DOMString scheme;
};

User agents may treat the scheme content attribute on the meta element as an extension of the element's name content attribute when processing a meta element with a name attribute whose value is one that the user agent recognizes as supporting the scheme attribute.

User agents are encouraged to ignore the scheme attribute and instead process the value given to the metadata name as if it had been specified for each expected value of the scheme attribute.

For example, if the user agent acts on meta elements with name attributes having the value "eGMS.subject.keyword", and knows that the scheme attribute is used with this metadata name, then it could take the scheme attribute into account, acting as if it was an extension of the name attribute. Thus the following two meta elements could be treated as two elements giving values for two different metadata names, one consisting of a combination of "eGMS.subject.keyword" and "LGCL", and the other consisting of a combination of "eGMS.subject.keyword" and "ORLY":

<!-- this markup is invalid -->
<meta name="eGMS.subject.keyword" scheme="LGCL" content="Abandoned vehicles">
<meta name="eGMS.subject.keyword" scheme="ORLY" content="Mah car: kthxbye">

The recommended processing of this markup, however, would be equivalent to the following:

<meta name="eGMS.subject.keyword" content="Abandoned vehicles">
<meta name="eGMS.subject.keyword" content="Mah car: kthxbye">

The scheme IDL attribute of the meta element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLObjectElement {
           attribute DOMString align;
           attribute DOMString archive;
           attribute DOMString border;
           attribute DOMString code;
           attribute DOMString codeBase;
           attribute DOMString codeType;
           attribute boolean declare;
           attribute unsigned long hspace;
           attribute DOMString standby;
           attribute unsigned long vspace;
};

The align, archive, border, code, declare, hspace, standby, and vspace IDL attributes of the object element must reflect the respective content attributes of the same name.

The codeBase IDL attribute of the object element must reflect the element's codebase content attribute, which for the purposes of reflection is defined as containing a URL.

The codeType IDL attribute of the object element must reflect the element's codetype content attribute.


[Supplemental]
interface HTMLOListElement {
           attribute boolean compact;
};

The compact IDL attribute of the ol element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLParagraphElement {
           attribute DOMString align;
};

The align IDL attribute of the p element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLParamElement {
           attribute DOMString type;
           attribute DOMString valueType;
};

The type IDL attribute of the param element must reflect the content attribute of the same name.

The valueType IDL attribute of the param element must reflect the element's valuetype content attribute.


User agents must treat plaintext elements in a manner equivalent to pre elements in terms of semantics and for purposes of rendering.


[Supplemental]
interface HTMLPreElement {
           attribute unsigned long width;
};

The width IDL attribute of the pre element must reflect the content attribute of the same name.


[Supplemental]
interface HTMLScriptElement {
           attribute DOMString event;
           attribute DOMString htmlFor;
};

The event and htmlFor IDL attributes of the script element must return the empty string on getting, and do nothing on setting.


[Supplemental]
interface HTMLTableElement {
           attribute DOMString align;
           attribute DOMString bgColor;
           attribute DOMString border;
           attribute DOMString cellPadding;
           attribute DOMString cellSpacing;
           attribute DOMString frame;
           attribute DOMString rules;
           attribute DOMString width;
};

The align, border, frame, rules, and width, IDL attributes of the table element must reflect the respective content attributes of the same name.

The bgColor IDL attribute of the table element must reflect the element's bgcolor content attribute.

The cellPadding IDL attribute of the table element must reflect the element's cellpadding content attribute.

The cellSpacing IDL attribute of the table element must reflect the element's cellspacing content attribute.


[Supplemental]
interface HTMLTableSectionElement {
           attribute DOMString align;
           attribute DOMString ch;
           attribute DOMString chOff;
           attribute DOMString vAlign;
};

The align IDL attribute of the tbody, thead, and tfoot elements must reflect the content attribute of the same name.

The ch IDL attribute of the tbody, thead, and tfoot elements must reflect the elements' char content attributes.

The chOff IDL attribute of the tbody, thead, and tfoot elements must reflect the elements' charoff content attributes.

The vAlign IDL attribute of the tbody, thead, and tfoot element must reflect the elements' valign content attributes.


[Supplemental]
interface HTMLTableCellElement {
           attribute DOMString abbr;
           attribute DOMString align;
           attribute DOMString axis;
           attribute DOMString bgColor;
           attribute DOMString ch;
           attribute DOMString chOff;
           attribute DOMString height;
           attribute boolean noWrap;
           attribute DOMString vAlign;
           attribute DOMString width;
};

The abbr, align, axis, height, and width IDL attributes of the td and th elements must reflect the respective content attributes of the same name.

The bgColor IDL attribute of the td and th elements must reflect the elements' bgcolor content attributes.

The ch IDL attribute of the td and th elements must reflect the elements' char content attributes.

The chOff IDL attribute of the td and th elements must reflect the elements' charoff content attributes.

The noWrap IDL attribute of the td and th elements must reflect the elements' nowrap content attributes.

The vAlign IDL attribute of the td and th element must reflect the elements' valign content attributes.


[Supplemental]
interface HTMLTableRowElement {
           attribute DOMString align;
           attribute DOMString bgColor;
           attribute DOMString ch;
           attribute DOMString chOff;
           attribute DOMString vAlign;
};

The align IDL attribute of the tr element must reflect the content attribute of the same name.

The bgColor IDL attribute of the tr element must reflect the element's bgcolor content attribute.

The ch IDL attribute of the tr element must reflect the element's char content attribute.

The chOff IDL attribute of the tr element must reflect the element's charoff content attribute.

The vAlign IDL attribute of the tr element must reflect the element's valign content attribute.


[Supplemental]
interface HTMLUListElement {
           attribute boolean compact;
           attribute DOMString type;
};

The compact and type IDL attributes of the ul element must reflect the respective content attributes of the same name.


User agents must treat xmp elements in a manner equivalent to pre elements in terms of semantics and for purposes of rendering.


The bgsound, isindex, multicol, nextid, rb, and spacer elements must use the HTMLUnknownElement interface.


[Supplemental]
interface HTMLDocument {
           attribute DOMString fgColor;
           attribute DOMString bgColor;
           attribute DOMString linkColor;
           attribute DOMString vlinkColor;
           attribute DOMString alinkColor;
 
  readonly attribute HTMLCollection anchors;
  readonly attribute HTMLCollection applets;
 
  void clear();
 
  readonly attribute HTMLAllCollection all;
};

The attributes of the Document object listed in the first column of the following table must reflect the content attribute on the body element with the name given in the corresponding cell in the second column on the same row, if the body element is a body element (as opposed to a frameset element). When there is no body element or if it is a frameset element, the attributes must instead return the empty string on getting and do nothing on setting.

IDL attribute Content attribute
fgColor text
bgColor bgcolor
linkColor link
vlinkColor vlink
alinkColor alink

The anchors attribute must return an HTMLCollection rooted at the Document node, whose filter matches only a elements with name attributes.

The applets attribute must return an HTMLCollection rooted at the Document node, whose filter matches only applet elements.

The clear() method must do nothing.


The all attribute must return an HTMLAllCollection rooted at the Document node, whose filter matches all elements.

The object returned for all has several unusual behaviors:

These requirements are a willful violation of the JavaScript specification current at the time of writing (ECMAScript edition 3). The JavaScript specification requires that the ToBoolean() operator convert all objects to the true value, and does not have provisions for objects acting as if they were undefined for the purposes of certain operators. This violation is motivated by a desire for compatibility with two classes of legacy content: one that uses the presence of document.all as a way to detect legacy user agents, and one that only supports those legacy user agents and uses the document.all object without testing for its presence first. [ECMA262]