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.
No, attribute order is irrelevant.