HTML5 is more widely used than XHTML because of complications in how:

websites were structured and displayed. HTML5 allows for easier integration of multimedia elements, improved accessibility, and better support for dynamic content. Additionally, HTML5 is more compatible with mobile devices and modern web browsers compared to XHTML.