"type=text/css" missing using VS Code

I just started using VS code and I noticed the “type” attribute (type=“text/css”) is missing when I type link:css.
I found a post on the forum that says it’s not needed with HTML5 but “some user agents may still depend upon it.”

https://discuss.codecademy.com/t/what-exactly-does-the-link-type-attribute-do/47581

My question is: should I write it?

1 Like

Hi @virginia_20,
I would recommend including it. Its not going to add too much time to your coding and its a safety net for those cases where it is needed. Better to cover your bases than to limit who or what has access to your code :slight_smile:

2 Likes

Thanks a lot! :relieved:

1 Like