Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

Why there are two body tags?


I noticed in the html structure of the Angular template there are two <body> tags

Why is there such a need, which is not recommended in html


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (12)


Having two body tags in an HTML document is invalid as per the HTML specification. It can cause unexpected rendering issues in browsers. If you are experimenting with HTML for projects like crazy games ensure the structure is clean and follows proper coding standards.



Testosterone Cypionate is a trusted choice for those looking to boost testosterone levels, enhance muscle growth, and improve physical performance. Known for its long-acting formula, this injectable solution delivers consistent, reliable results over time, making it ideal for athletes and bodybuilders focused on achieving their strength and fitness goals. Quality-tested and effective, Testosterone Cypionate supports increased energy, muscle mass, and endurance.



Thanks its a great and best blog!



Having two `<body>` tags in an HTML document is invalid and can lead to unexpected behavior in web browsers. The HTML standard allows only one `<body>` tag per document, as it defines the main content of the webpage. If two body tags are present, browsers may render only the first one, ignoring the second, which can cause layout and display issues. It's essential to ensure that your HTML structure is correct to maintain proper functionality and accessibility. like Randomcountry.world



In HTML, having two `<body>` tags is not recommended as it violates the standard structure of a webpage. Angular templates should adhere to standard HTML practices. The presence of two `<body>` tags might indicate a mistake or an error in the template generation. It's best to review and correct the template to ensure proper HTML structure, which includes only one `<body>` tag per document.
luciferdonghua.one



We need more information from you. Can you please provide it. You can check my work at doramasflix.



I like how Slope Game combines speed and control, creating a unique gaming experience.



Many exercises on the constant hunt along with the victory march happy wheels. Definitely not attached, easy to fall due to getting caught on the curb; And do not investigate, then enter a path that goes towards black. temple run game



Exploring the benefits of Pharmacom Test Cypionate has been an eye-opening experience for me. With its reputation for efficacy and reliability, this https://misterolympia.shop/product/oxandrolone-magnus-usa-domestic/ testosterone supplement offers a wide range of benefits for individuals looking to optimize their performance and achieve their fitness goals. From increased muscle mass and strength to enhanced endurance and recovery, Pharmacom Test Cypionate is a versatile and effective option for athletes and bodybuilders alike.



Hi,

Thank you for your feedback. We will fix it.

Thanks



Thanks for your reply
I am using Metronic 8 and demo2
The 2 body is present in the login page mostly
https://preview.keenthemes.com/metronic8/angular/demo2/auth/login

If you inspect the html with google developer tools you will see 2 body tags



Hi,

Can you please provide more info? Which Metronic version and demo you are referring to ?
Could you please share a screenshot via https://imgur.com ?

Regards.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(