Add Style in Forms
Styling Input Fields Use the width property to determine the width of the input field: Example <!DOCTYPE html> <html> <head> <style> input { width: 100%; } </style> </head> <body> <h2>A full-width input field</h2> <form> <label for=”fname”>First Name</label> <input type=”text” id=”fname” name=”fname”> </form> <body> </html> Result: The example above applies to all <input> elements. If you only want… Read More »