Changes between Initial Version and Version 4 of Ticket #59432
- Timestamp:
- 09/24/2023 12:28:09 AM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59432
- Property Focuses javascript css performance removed
-
Property
Component
changed from
HTML API
toGeneral
-
Ticket #59432 – Description
initial v4 1 1 When validating any WordPress site, warnings appear: 2 1. Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. Example: <meta name='robots' content='noindex, nofollow'/>3 <link rel="alternate" href="https://samesite.com/" hreflang="US"/> 2 1. Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. Example: `<meta name='robots' content='noindex, nofollow'/>` 3 `<link rel="alternate" href="https://samesite.com/" hreflang="en-US"/>` 4 4 Also in tags img, button etc 5 5 2. The type attribute for the style element is not needed and should be omitted. 6 Example: <style id='global-styles-inline-css' type='text/css'>6 Example: `<style id='global-styles-inline-css' type='text/css'>` 7 7 3. The type attribute is unnecessary for JavaScript resources. 8 Example: <script type='text/javascript' ...>8 Example: `<script type='text/javascript' ...>` 9 9 10 10 A suggestion for improvement is to fix these warnings by removing attributes and symbols that are no longer needed. This will reduce the amount of code and relieve SEO optimizers from headaches).