<!DOCTYPE html> <html> <head> <body> <table align="center"> <tr> <td> <div style="float: right"> <input type="text" value="This is a test"> </div> </td></tr> </table> </body> </html>