我想知道是否有必要使用<link rel="stylesheet" type="text/css" href=…> over <link rel="stylesheet" href=…rel="stylesheet"标记了它是一个样式表的信息——因此text/css实际上并没有添加任何东西。
HTML使用的唯一样式表格式是CSS,那么text/ CSS对浏览器说了什么?一些网站似乎添加了type="text/css"属性(http://www.jquery.com/),而其他网站则没有(http://www.youtube.com/)。
那么,在<link rel="stylesheet">元素中type="text/css"的用途是什么,有必要包括它吗?