內容簡介
這個 W3C Type Attribute Warnings Removal 外掛可以移除 WordPress 新增的 script 和 style tag 中的 type 屬性。
這可以解決搜尋引擎優化方面的問題。透過移除這些警告,您可以檢查條列錯誤並以 validator 工具 https://validator.w3.org/nu/ 確認去除錯誤及警告,讓您的網站不再有網頁驗證器的錯誤及警告。若網站的程式碼未依照 W3C 驗證建置,就會發生 type 屬性的警告。
此外,這個外掛可以移除以下警告:
JavaScript 資源不需要使用 type 屬性。
style 元素不需要 type 屬性,請省略。
外掛標籤
開發者團隊
② 後台搜尋「Type Attribute Warnings Removal」→ 直接安裝(推薦)
原文外掛簡介
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
Generates complete report of errors/warnings of all pages
Automatically corrects most commonally occured errors
Option to find and edit page to correct errors.
Improve SEO performance through W3C compliance
