For any given angle $\theta$the area of the triangle is $ab|\cos\theta|/2$. So to maximize the area we need to take max of $|\cos\theta|$which is 1. So the answer will be $ab/2$.