Title: Type Attribute Warnings Removal
Author: Sumit Malviya
Published: <strong>2020 年 6 月 9 日</strong>
Last modified: 2026 年 6 月 2 日

---

搜索插件

![](https://ps.w.org/remove-w3c-validation-type-warnings/assets/banner-772x250.png?
rev=3557710)

![](https://ps.w.org/remove-w3c-validation-type-warnings/assets/icon-256x256.png?
rev=3557865)

# Type Attribute Warnings Removal

 作者：[Sumit Malviya](https://profiles.wordpress.org/sumitmalviya/)

[下载](https://downloads.wordpress.org/plugin/remove-w3c-validation-type-warnings.zip)

 * [详情](https://cn.wordpress.org/plugins/remove-w3c-validation-type-warnings/#description)
 * [评价](https://cn.wordpress.org/plugins/remove-w3c-validation-type-warnings/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/remove-w3c-validation-type-warnings/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/remove-w3c-validation-type-warnings/#developers)

 [支持](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/)

## 描述

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](https://saasycodes.com/product/cleanser-w3c-markup-validator/)
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](https://saasycodes.com/product/cleanser-w3c-markup-validator/)

 1. Generates complete report of errors/warnings of all pages
 2. Automatically corrects most commonally occured errors
 3. Option to find and edit page to correct errors.
 4. Improve SEO performance through W3C compliance

## 屏幕截图

[⌊Plugin overview showing type attribute warning removal.⌉⌊Plugin overview showing
type attribute warning removal.⌉[

Plugin overview showing type attribute warning removal.

[⌊Plugin banner and validation improvement example.⌉⌊Plugin banner and validation
improvement example.⌉[

Plugin banner and validation improvement example.

## 安装

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

## 常见问题

### How this plugin overcome these warnings ?

The plugin inbuilt with set of codes that will remove the type attribute warning
from your website after installing it.

### Why these warnings found on my website ?

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.

### How to check these warning and other W3C errors ?

You can check these errors and warning by the validator tool.
 https://validator.
w3.org/nu/

## 评价

![](https://secure.gravatar.com/avatar/447dac1edaf9d11c13cc06ba459ad46549e6540e45859cc780c3afa150050be8?
s=60&d=retro&r=g)

### 󠀁[Great plugin removes all the type warnings](https://wordpress.org/support/topic/great-plugin-removes-all-the-type-warnings/)󠁿

 [Praveen M](https://profiles.wordpress.org/praveenmalv/) 2024 年 3 月 28 日

The plugin really works very well , Installed and remove all the type attribute 
warnings it really helps to improve w3c code standard

![](https://secure.gravatar.com/avatar/9f87eb6cbca791eff87fad7ed3e7ba0bda42dcc4b3ba44afe473d9312dea13e1?
s=60&d=retro&r=g)

### 󠀁[Fine plugin](https://wordpress.org/support/topic/fine-plugin-49/)󠁿

 [stefanoneri](https://profiles.wordpress.org/stefanoneri/) 2021 年 3 月 22 日

Works good! Thanks

![](https://secure.gravatar.com/avatar/790f781427f72303647ba01d48c6f422c4748fb87064e2770e314234d5eba272?
s=60&d=retro&r=g)

### 󠀁[Works as Advertized](https://wordpress.org/support/topic/works-as-advertized-13/)󠁿

 [Website Rob](https://profiles.wordpress.org/website-rob/) 2021 年 3 月 11 日

Well done plugin. Does two things, does them well and no errors are created. Also
means no need for any Admin Settings so it’s Plug n’ Play. Bonus! There is something
though that could/should be corrected for the sake of semantics. Results are: <script
> & <style > There is a blank space after the element name which should be removed.
Perhaps next update? 🙂

![](https://secure.gravatar.com/avatar/828d1461b40a17c392a044f26a8329719011d617ae71e7188d6b0565aa1fe75b?
s=60&d=retro&r=g)

### 󠀁[Very helpful plugin](https://wordpress.org/support/topic/nice-3461/)󠁿

 [chetan16v](https://profiles.wordpress.org/chetan16v/) 2020 年 6 月 10 日

Plugin helps us to overcome W3C validation warning from my website

![](https://secure.gravatar.com/avatar/6b4be1dee9e1dc100ba3a90fcb47fb8b5236c775505e151ef21981e407ac9ee6?
s=60&d=retro&r=g)

### 󠀁[Good Plugin](https://wordpress.org/support/topic/good-plugin-4365/)󠁿

 [Sumit Malviya](https://profiles.wordpress.org/sumitmalviya/) 2020 年 6 月 10 日

It removes automatically type attributes from website after installing it.

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/reviews/)

## 贡献者及开发者

「Type Attribute Warnings Removal」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Sumit Malviya ](https://profiles.wordpress.org/sumitmalviya/)

[帮助将「Type Attribute Warnings Removal」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/remove-w3c-validation-type-warnings)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/remove-w3c-validation-type-warnings/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/remove-w3c-validation-type-warnings/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/remove-w3c-validation-type-warnings/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/remove-w3c-validation-type-warnings/)。

## 更新日志

#### 1.0.0

 * Initial release.
 * Removes unnecessary type attributes from script tags.
 * Removes unnecessary type attributes from style tags.
 * Improves W3C validation compliance.
 * Lightweight and easy to use.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**1 周前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 4.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/remove-w3c-validation-type-warnings/)
 * 标签
 * [load time](https://cn.wordpress.org/plugins/tags/load-time/)[nofollow](https://cn.wordpress.org/plugins/tags/nofollow/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)[w3c](https://cn.wordpress.org/plugins/tags/w3c/)
   [Yoast](https://cn.wordpress.org/plugins/tags/yoast/)
 *  [高级视图](https://cn.wordpress.org/plugins/remove-w3c-validation-type-warnings/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/reviews/)

## 贡献者

 *   [ Sumit Malviya ](https://profiles.wordpress.org/sumitmalviya/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/remove-w3c-validation-type-warnings/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.webfriendy.com/contact-us/)