<!DOCTYPE html> <html> <body> <div style="display: inline; border: 2px solid">One<div>Two</div><div>Three</div></div> </body> </html>