Is type=“text/css” mandatory on the <link> element?
问题 I'm trying to use Google Web Fonts, and on the official site it recommends using a <link> tag including the type attribute, as following: <link href='http://fonts.googleapis.com/css?family=Ubuntu:400,700' rel='stylesheet' type='text/css'>` In the official HTML5 boilerplate site they ommit the type attribute <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700"> According to this rather old answer, in HTML5 the type attribute is optional on the <style> tag and