I had a thought earlier today regarding nested HTML tags and how browsers render them:
<html xmlns="http://www.w3.org/1999/xhtml" {or whichever html version} xml:lang="en" lang="en">
<head>
</head>
<body>
let n
= 1
<div>
recurse div n
times until maximum (browser fails)
</div>
</body>
</html>
what will n
be when the browser cannot handle any more recursion?
I would think this would be different for each browser, and different also for mobile apps. Is there a web standard, such as the maximum 127 character length for domain names?
I have never run into this problem, but I am curious when it would.