Div Output:

Method 1:

AA              BB

Method 2:

AA BB


Source code: