The boundary of the open rectangle $(0,1)\times(0,1)$ is not $[0,1]\times[0,1]$. It is $\{0\}\times[0,1]\cup\{1\}\times[0,1]\cup[0,1]\times\{0\}\cup[0,1]\times\{1\}$. Also the open rectangle contains far more than one point on each horizontal and vertical line excluding the boundary lines.
To construct the desired set $A$ first pick a point with both coordinates being rational and in $[0,1]\times[0,1]]$. Subdivide $[0,1]\times[0,1]$ into four squares by forming the lines $\{\frac{1}{2}\}\times[0,1]$ and $[0,1]\times\{\frac{1}{2}\}$. Pick from each square an element such that both coordinates are rational and such that they don't lie a horizontal line or vertical line that can connect them to the previously chosen points. Continue subdividing into quarters as before and repeating the procedure. This process can be continued infinitely many times since there are infinitely many rationals and since at any finite stage we have only made finitely many choices and hence infinitely many lines are still available. The resulting set is dense by construction and has no interior since it is totally disconnected. The boundary will have the desired property.