Technology Programming

How to Align a Text Field in HTML Form

    • 1). Open a blank document in any text editor such as Windows Notepad.

    • 2). Create the HTML document as you normally would.

    • 3). Type the line "<input type="text" size="25" align="absmiddle"> to create a text field that is aligned with the middle of the current line.

    • 4). Finish the HTML document.

    • 5). Save the document with the ".html" file extension.

    • 6). View the alignment by opening the document in a web browser.

Leave a reply