Skip to content

fix: remove trailing slashes from void elements in index.html#65

Merged
romahawk merged 1 commit intomainfrom
dev
Apr 30, 2026
Merged

fix: remove trailing slashes from void elements in index.html#65
romahawk merged 1 commit intomainfrom
dev

Conversation

@romahawk
Copy link
Copy Markdown
Owner

Summary

  • Removes XHTML-style self-closing syntax (/>) from all 22 HTML void elements (<meta> and <link>) in index.html
  • Fixes W3C validator info: "Trailing slash on void elements has no effect and interacts badly with unquoted attribute values."
  • No attribute values, metadata content, SEO/OG/Twitter tags, or any other markup was changed

Void elements updated (22 total)

Tag Count
<meta> 15
<link> 7

Test plan

  • W3C validator (validator.w3.org) shows no trailing-slash info messages on the deployed URL
  • Lighthouse scores unchanged (Performance 99, Accessibility 100, Best Practices 96, SEO 100)
  • Favicon, OG image, and Twitter card preview correctly in browser / social debugger

🤖 Generated with Claude Code

Fixes W3C validator info: "Trailing slash on void elements has no effect
and interacts badly with unquoted attribute values." Updated 22 meta and
link tags to use HTML5-conformant syntax; no attribute values changed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
portfolio-fullstack Ready Ready Preview, Comment Apr 30, 2026 9:30am
portfolio-react Ready Ready Preview, Comment Apr 30, 2026 9:30am

@romahawk romahawk merged commit f000b12 into main Apr 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant