Style sheets break with TITLE attribute on <link> tags?

后端 未结 2 1343
感情败类
感情败类 2021-02-14 14:02

I\'m helping with an effort to upgrade a very old corporate intranet. Our users are on IE8 and IE9. Most of our sites are written to work in IE5 - IE9.

We\'re on the ver

2条回答
  •  醉酒成梦
    2021-02-14 14:57

    From the spec

    The title attribute gives the title of the link. With one exception, it is purely advisory. The value is text. The exception is for style sheet links, where the title attribute defines alternative style sheet sets.

    Browsers can (I don't know of any that do any more, but extensions are available) provide a UI to allow the user to switch between different stylesheets supplied by the author for a page.

    The title attribute is used to group the stylesheets for selection (and provide the label for them).

    The first stylesheet encountered will be used to determine which group is used by default.

提交回复
热议问题