You might add the type attribute to your link and script tags.
| 1 | <link rel=”stylesheet” href=”path/to/stylesheet.css” type=”text/css” /> |
| 2 | <script type=”text/javascript” src=”path/to/script.js”></script> |
This is not necessary. It’s implied that both of these tags refer to stylesheets and scripts respectively. As such, we can remove the type attribute altogether.
| 1 | <link rel=”stylesheet” href=”path/to/stylesheet.css” /> |
| 2 | <script src=”path/to/script.js”></script> |
Leave a Reply