title: Input width bootstrap
body: <p>I have a form using bootstrap, but when I load the page the input field width takes all the page, like this:</p>
  
  <p><a href="https://i.stack.imgur.com/NAAjE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NAAjE.png" alt="enter image description here"></a></p>
  
  <p>My code:</p>
  
  <pre><code>&lt;div class="form-group"&gt;
      &lt;form action="adicionaProduto" method="post"&gt;
          &lt;label for="nome"&gt;Nome&lt;/label&gt;
          &lt;input type="text" name="nome" class="form-control"/&gt;&lt;br&gt;&lt;br&gt;
          &lt;label for="nome"&gt;Valor&lt;/label&gt;
          &lt;input type="text" name="valor" class="form-control"/&gt;&lt;br&gt;&lt;br&gt;
          &lt;label for="nome"&gt;Quantidade&lt;/label&gt;
          &lt;input type="text" name="quantidade" class="form-control"/&gt;&lt;br&gt;&lt;br&gt;
          &lt;label for="nome"&gt;Código&lt;/label&gt;
          &lt;input type="text" name="cod" class="form-control"/&gt;&lt;br&gt;&lt;br&gt;
          &lt;button type="submit" class="btn btn-default"&gt;Novo&lt;/button&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I would like that the field was smaller than this. I tried the width="" in the input tag, but didn't work.</p>
  
  <p>I have no experience in front end. Thanks.</p>