本文介绍了我们需要type =" text / css" for< link>在HTML5中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要

推荐答案

说, code> type 属性是纯粹的建议,并详细解释了浏览器如果省略(太多引用这里)应该如何行动。它没有明确说明省略的type属性有效或无效,但您可以安全地忽略它,因为您知道浏览器仍会按您的预期反应。

The HTML5 spec says that the type attribute is purely advisory and explains in detail how browsers should act if it's omitted (too much to quote here). It doesn't explicitly say that an omitted type attribute is either valid or invalid, but you can safely omit it knowing that browsers will still react as you expect.

这篇关于我们需要type =" text / css" for< link>在HTML5中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 02:39