Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Difference between <Doctype> and <!Doctype> - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
2 replies
Killer🔪
Difference between <Doctype> and <!Doctype>
I recently gave an interview and was asked the question to tell the difference between
<Doctype>
<Doctype>
and
<!Doctype>
<!Doctype>
I searched on the net but there is no answer
.
Can someone help me with this
?
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Strange difference between ::before and ::after
KP-C
Kevin Powell - Community / front-end
3y ago
Difference between scroll-margin and scroll-padding
KP-C
Kevin Powell - Community / front-end
2y ago
Difference between innerHTML, innerText and textContent and their use cases
KP-C
Kevin Powell - Community / front-end
17mo ago