More complicated layouts can be typeset as well, of course, all free of charge (other than the CPU cycles of the viewer's computer):
I remember, that some time ago displaying neatly set mathematical equations in a browser seemed like an impossible dream to achieve. There were next to zero built in support for math, and alternative solutions meant using pictures most of the time. How quickly, and, occasionally, positively, things change nowadays!
By the way, this is how math looks like in a mobile browser: