You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please allow for the browser sync to work if there is no body tag in the code. Sometimes I create small HTML snippets with no HTML tag, no HEAD tag and no BODY tag to keep the code minimal and the code does work in all modern browsers as the browser will automatically insert the HTML tag, HEAD tag and BODY tag and place all of my code inside the BODY tag automatically.
For example, this example HTML file below which has no HTML, HEAD or BODY tag will move this tag into the HEAD tag once the page is loaded in the browser.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Please allow for the browser sync to work if there is no body tag in the code. Sometimes I create small HTML snippets with no HTML tag, no HEAD tag and no BODY tag to keep the code minimal and the code does work in all modern browsers as the browser will automatically insert the HTML tag, HEAD tag and BODY tag and place all of my code inside the BODY tag automatically.
For example, this example HTML file below which has no HTML, HEAD or BODY tag will move this tag into the HEAD tag once the page is loaded in the browser.
Beta Was this translation helpful? Give feedback.
All reactions