标签云

微信群

扫码加入我们

WeChat QR Code

什么属性bgcolor支持[复制]呢

This question already has an answer here:

The bgcolor tag takes different words and changes the color.

What actually happens? Does it take the ASCII values?

<html>
    <head>
        <title> Background Color </title>
    </head>

    <body bgcolor="Daniel">
    </body>
</html>

When I assign random words to the bgcolor tag, it applies some kinda color. How does it work?


Insist upon using CSS. Don't use such HTML attributes.

2018年05月23日06分35秒

Daniel_V : Many of such HTML attributes are deprecated (or at least about to be deprecated), their usage is highly discouraged and they're liable to be removed in the future.

2018年05月23日06分35秒

Thank you. I'm just learning, am just trying those tags. :)

2018年05月24日06分35秒