Skip to main content

HTML Guide

Free site validation

Find out what web pages on your sites are affected by HTML issues.

Bad value X for attribute “type” on element “script”: Subtype missing.

The specified type for an script element is not a valid MIME type as it’s missing a subtype.

A MIME type most-commonly consists of just two parts: a type and a subtype, separated by a slash (/) — with no whitespace between, for example:


Learn more:

Related W3C validator issues