Live server is not possible without body or head tag
See original GitHub issueHI! I tried running live server on my vscode today and I keep getting the prompt "live server is not possible without body or head tag. I ran the same live server yesterday and it worked fine. What can be done about it please?
I’m submitting a…
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->
Current behavior
Expected behavior
Environment
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Live Server: <!-- Check which version is installed -->
- Platform: <!-- Mac, Linux, Windows -->
- Visual Studio Code: <!-- `code --version` -->
Others
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:22 (7 by maintainers)
Top Results From Across the Web
"Live Reload is not possible as body or head tag or defined ...
It is because you have made a media query on your file and your display screen/window is in that size, and since you...
Read more >Live Reload is not possible without body or head tag
remove the title "Document" from your code and the live reload will work just fine. Worked for me.
Read more >Visual Studio Code Live Reload - Super User
I am testing an html file and I need to reload upon save. I've seen many tutorials update the view of an html...
Read more >Live Reload is not possible without body or head tag.
Live Reload is not possible without body or head tag. ... I am facing this issue whenever I make same changes in my...
Read more >live reload is not possible without a head or body tag. what is ...
I tried turning off the live server extension and opened it in the browser from the HTML file directly and nothing changed. I...
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
Hey, it means your html doesn’t have
<body>
or<head>
tag.Can you show me a full screenshot of vscode window?
Please create a file and paste this HTML.
Now try to open the file using Live Server. It should not give that warning message.