Media type "text/javascript" is obsolete, recommend "application/javascript" instead.

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
Post Reply
User avatar
RSteinwand
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND
Contact:

Media type "text/javascript" is obsolete, recommend "application/javascript" instead.

Post by RSteinwand »

Hi Albert,

Correct me if I'm wrong, but isn't removing text/css from styles and text/javascript or application/javascript the preferred route with html5 for inlined or external files?

Thanks.
Rick
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Media type "text/javascript" is obsolete, recommend "application/javascript" instead.

Post by Albert Wiersch »

Yes it is. I've made some updates in this area for the upcoming v18.01 update expected later this month (end of February).
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
RSteinwand
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND
Contact:

Re: Media type "text/javascript" is obsolete, recommend "application/javascript" instead.

Post by RSteinwand »

Thanks Albert.

I've started removing it as well to lighten pages.
Rick
Post Reply