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

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
User avatar
RSteinwand
Rank VI - Professional
Rank VI - Professional
Posts: 592
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 » Tue Feb 20, 2018 1:47 pm

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
Site Admin
Posts: 3359
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 » Tue Feb 20, 2018 2:00 pm

Yes it is. I've made some updates in this area for the upcoming v18.01 update expected later this month (end of February).
Image
Albert Wiersch

User avatar
RSteinwand
Rank VI - Professional
Rank VI - Professional
Posts: 592
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 » Tue Feb 20, 2018 2:04 pm

Thanks Albert.

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

Post Reply