Launch the standard plain-text text editor application that is available on your computer.
Enter the following code into the text editor:
Click here to change Textbox width
Click the "File" menu. Select the "Save" option. Save under the file name "test.html."
Launch the Web browser that is available on your computer. Click on the "File" menu item and select "Open File."
Locate the file "test.html" just created, select it with the mouse then click on "Open."
Click on the text within the grey background with the mouse to change the form text box's width.
- The major Web browsers will display valid HTML and CSS code differently. Even different versions of the same browser may produce unexpected display issues. Always test your code on different browsers and older versions of the same browser in order to ensure the code works as expected.