HTML5: optimization of <link> and <script>

If you want to connect JavaScript to your page and add links to external CSS files - connect elements link and script, but avoid using the attribute type. In HTML5, you shouldn't use it. Your code should look like this:
<link rel="stylesheet" href="styles.css" /> <script src="scripts.js"></script>
Unlike other versions of HTML, in HTML5 you need to input only short information requited by the browser. The attribute type was officially recognized as redundant. But the old documents in which it is used are valid.