HTML Checking for Large Sites

Rocket Validator automatically scans your sites for accessibility issues using the W3C Validator, hosted on our own servers and integrated into our web crawler.

June 2021 Promotion

All Rocket Validator Pro features at half the price. Offer only valid until June 30th.

The “type” attribute for the “style” element is not needed and should be omitted.

The HTML <style> element contains style information for a document, or part of a document, defined in CSS. This element does not need the type attribute anymore, so it should be omitted.

For example, this style defines that <p> elements should be in red color.

<style type="text/css">
p {
  color: red;
}
</style>
<p>This text will be red.</p>

But, the type attribute is not used anymore, so we can just use this:

<style>
p {
  color: red;
}
</style>
<p>This text will be red.</p>

Read more:

Related W3C validator issues

June 2021 Promotion

All Rocket Validator Pro features at half the price. Offer only valid until June 30th.