HTML question --vscode <header"> added the quote mark, and breaks when removed

i have <header"> <main> <section> <header> <article> the first header vs code added the " after the first header. is this a normal thing? when i remove it, my header breaks.
8 Replies
Jochem
Jochem•10mo ago
Share the entire thing, cause that's not correct This isn't enough to diagnose the issue though
green
green•10mo ago
possible that there is a quote missing in your code somewhere?
I am Groot
I am GrootOP•10mo ago
it is possible that at some point there was a quotation mark missing somewhere. i'm really just wondering if this was something vscode might interject if there is more than one header? I've really never seen it before.
Jochem
Jochem•10mo ago
it's not going to inject things that would cause invalid HTML and that is, on its own like you rendered here, invalid HTML without the entirety of the code before that section, it's impossible to say why VSCode inserted anything (also, for future reference, VS Code related questions should go in #os-and-tools)
I am Groot
I am GrootOP•10mo ago
Jochem
Jochem•10mo ago
hm, I don't see any reason why vscode would insert anything there. It shouldn't be there in any case
I am Groot
I am GrootOP•10mo ago
fortunately im not too far along and i can easily start over with my css
Squeemeister
Squeemeister•10mo ago
Never underestimate your ability to miss "little things" especially if you've been at it, nonstop, for many hours. Paste your code into the tool here: https://validator.w3.org/#validate_by_input It's probably the missing trailing slashes on the meta tag (and maybe the stylesheet link tags, but don't quote me on that. 😉
The W3C Markup Validation Service
W3C's easy-to-use markup validation service, based on SGML and XML parsers.
Want results from more Discord servers?
Add your server