Is there a function to “blockify” html?

Is there a function to “blockify” html?