Remove type attribute from script and style tags added by WordPress
The W3C Type Attribute Warnings Removal plugin is a valuable tool for WordPress users aiming to optimize their website’s SEO performance and adhere to web standards set by the World Wide Web Consortium (W3C). This plugin specifically targets and removes unnecessary type attributes from script and style tags generated by WordPress, thereby addressing potential validation issues highlighted by the W3C validator tool.
Maintaining a compliant website is crucial for SEO success, and this plugin simplifies the process by automatically eliminating type attribute warnings, enhancing your site’s overall quality and performance. By ensuring conformity with W3C standards, you not only improve search engine visibility but also enhance accessibility and user experience.
The Plugin Removes the below warnings from the website.
The type attribute is unnecessary for JavaScript resources.
The type attribute for the style element is not needed and should be ommited.
Introducing the Cleanser W3C Markup Validator Pro Plugin:
The “Cleanser W3C Markup Validator” plugin addresses a specific challenge encountered during the W3C validation process. Often, website owners and developers encounter warnings related to the “type” attribute in HTML elements, which may not necessarily impact the website’s functionality or user experience.
What you will get in the Pro version
This section describes how to install the plugin and get it working.
Download and install the plugin from WordPress dashboard. You can also upload the entire “w3c-type-warnings” folder to the /wp-content/plugins/ directory
Activate the plugin through the ‘Plugins’ menu in WordPress
The plugin inbuilt with set of codes that will remove the type attribute warning from your website after installing it.
The type attribute warnings and other W3C Validation errors occur due to the bad programming or use of deprecated version of code. Make use of latest versions of code.
You can check these errors and warning by the validator tool.
https://validator.w3.org/nu/