• ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 个月前

    Yes but that’s Wikipedia’s custom CSS, websites can just redefine the color. Since the other colors are default, in the bottom left panel, the color should be #FF0000 for an active link (for the usually short time of being clicked – mouse held down).

    https://stackoverflow.com/questions/4774022/whats-default-html-css-link-color

    That is, the HTML standard effectively includes this CSS that is internal to any compliant browser:

    :link { color: #0000EE; } /* normal links are blue */
    :visited { color: #551A8B; } /* visited links are purple */
    :link:active, :visited:active { color: #FF0000; } /* active links are red */
    :link, :visited { text-decoration: underline; cursor: pointer; }