Insert Closing slash
See original GitHub issueBug report
hi bro I noticed that this plugin does not put the final slash when linking the css file to the head!!
Actual Behavior
Expected Behavior
How Do We Reproduce?
Please paste the results of npx webpack-cli info
here, and mention other relevant information
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Should I add a slash to self-closing HTML tags like `img` and ...
Adding the closing /> is still valid, and in my personal opinion (only personal), it may get deprecated in a near future.
Read more >closing input tags with /> or just >??? - Codecademy
Notice that the input field doesn't have a closing tag. Instead it ends with a space and a forward slash. but in the...
Read more >Should you, or should you NOT, close HTML void elements ...
Should you, or should you NOT, close HTML void elements/self-closing tags with a forward slash? Hello! Thanks for taking the time to read...
Read more >JSX: Space inserted before slash in self-closing elements #1985
The trend where people put a space before the ending slash started years ago before browsers (Netscape 4?) understood the slash, ...
Read more >Tags - E 115: Introduction to Computing Environments
A tag can be used to insert an image, a link, a paragraph of text, a navigation bar, ... The closing tag looks...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
XHTML is deprecated and is not reccomend (w3 and whatwg) to use (except when you are implementing something for really legacy systems). Most of browsers use html5 spec parser, so my opinion is not to use XHTML. Even more your code is not XHTML valid so you still will have validations problems (and even problems with parser and probably your content will not render as you expceted).
Your doctype is not xhtml, your doctype is HTML5, look at your source code