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.

document.alinkColor

Summary

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

document body에 있는 active link의 색깔을 설정하거나 설정된 값을 리턴합니다. 링크는 mousedownmouseup 이벤트가 발생하는 중간에 활성화(active)됩니다.

Syntax

color = document.alinkColor
document.alinkColor =color

color는 색깔의 이름을 포함하는 문자열 (e.g., "blue", "darkblue", etc.) 혹은 색깔의 16진수 값으로 설정할 수 있습니다(e.g., #0000FF).

Notes

The default value for this property in Mozilla Firefox is red (#ee0000 in hexadecimal).

document.alinkColor is deprecated in DOM Level 2 HTML. One alternative is the CSS selector :active.

Another alternative is document.body.aLink, although this is deprecated in HTML 4.01 in favor of the CSS alternative.

Gecko supports both alinkColor/:active and :focus. Internet Explorer 6 and 7 support alinkColor/:active only for HTML anchor (<a>) links and the behavior is the same as :focus under Gecko. There is no support for :focus in IE.

Specification

DOM Level 0. Not part of any standard.

MSDN: alinkColor property

문서 태그 및 공헌자

태그: 
 이 페이지의 공헌자: fscholz, AshfaqHossain, teoli, pusanbear
 최종 변경: AshfaqHossain,