HTML has been the long standing data format for representing the layout of a webpage, but why is that? We all know from experience that XML like data is unnecessarily verbose and is a pure waste of data(in terms of data in wire) and time(in terms of parsing it to construct the dom). Why don't we render data with json?
DOM data in json is very much appealing to the eyes compared to XML like representation. It makes developers lives easier. And accessing data in html from js would be a breeze.
Has anyone considered this possibility? Why not use something that can significantly increase the performance and the developer experience?