What happens if i put two <html></html> in the same website (or what can that do)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What happens if i put two <html></html> in the same website (or what can that do)?

for example: <html> content </html> <html> content </html>

7th Jan 2020, 11:12 PM
G. Andrés Goñi Niembro
G. Andrés Goñi Niembro - avatar
3 Answers
0
The content inside each one may show up on the page, but having more than one is not good because it causes the tag to become ambiguous, and as a result, the HTML may not load correctly on the page. Therefore, it's good to have just one of <html>, <head>, and <body> tag inside a HTML file.
7th Jan 2020, 11:23 PM
Jianmin Chen
Jianmin Chen - avatar
0
I would suggest keeping only 1 of those tags. Not more than 1 i'm really not sure what could happened if you do that becouse i'm new in this. But using it only 1 time makes the job perfectly! Good Luck
7th Jan 2020, 11:31 PM
Ergin
0
but what happens? imagine just for fun or "web art": is one connected to other, just the second shows or the entire world would explode?
7th Jan 2020, 11:57 PM
G. Andrés Goñi Niembro
G. Andrés Goñi Niembro - avatar