Bootstrap Form Input

BootstrapWeb DevelopmentCSS Framework

The most common form text field is the input field. This is where users will enter most of the essential form data. Bootstrap offers support for all native HTML5 input types: text, password, datetime,datetime-local, date, month, time, week, number, email, url, search, tel, and color. The proper type declaration is required to make Inputs fully styled.

 You can try to run the following code to learn how to work with form input in Bootstrap


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Form Input</title>
      <meta name = "viewport" content="width = device-width, initial-scale = 1">
      <link rel = "stylesheet" href="">
      <script src = ""></script>
      <script src = ""></script>
      <form role = "form">
         <div class = "form-group">
            <label for = "name">Player</label>
            <input type = "text" class = "form-control" placeholder = "Player Name">
         <div class = "form-group">
            <label for = "name">Rank</label>
            <input type = "text" class = "form-control" placeholder = "Player Rank">
Updated on 12-Jun-2020 13:38:13