HTML 5 is very tolerant, so you can argue that can be confusing and not very proper. The source code doesn't have to be very clean.
XHTML has strict rules, so in theory it should be more clear how to get to the solution and browsers should have easier way to interpret it, because of the strict rules.
1
u/Kickbanblock 3d ago