Is there a correct order that attributes should be listed in when linking external files?
问题 When declaring external files in HTML such as .css or .js, is there a correct order in which to place the link's attributes? For example: <link rel="stylesheet" type="text/css" href="../_css/style.css"> or <link type="text/css" rel="stylesheet" href="../_css/style.css"> or <link href="../_css/style.css" type="text/css" rel="stylesheet"> Does this matter? Same question goes for attributes for linking to external JavaScript files. Thanks for your time. 回答1: No, attribute order is irrelevant.