"IMC"
Bootstrap 3.2.0 Snippet by selfassis

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>IMC</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> </head> <body> <div class="jumbotron"> <!-- Destacar título --> <div class="container-fluid"> <!-- CLASSE QUE DEFINE O CONTAINER COMO FLUIDO (100%) --> <h1>IMC</h1> <form class="form-horizontal"> <fieldset> <legend>Calculando IMC</legend> <!-- Form Name --> <!-- Text input--> <div class="control-group"> <div class="controls"> <input id="peso" name="peso" type="text" placeholder="Digite o peso" class="input-xlarge" required=""> </div> </div> <!-- Text input--> <div class="control-group"> <div class="controls"> <br> <input id="altura" name="altura" type="text" placeholder="Digite a altura" class="input-xlarge" required=""> </div> </div> <!-- Button --> <div class="control-group"> <div class="controls"> <br> <button id="calcular" name="calcular" class="btn btn-primary">Calcular</button> <button id="limpar" name="limpar" class="btn btn-primary">Limpar</button> </div> </div> </fieldset> </form> <!-- Text input--> <div class="control-group"> <label id="resultado" class="control-label" ></label> </div> </div> </div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="js/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.min.js"></script> <script src="js/imc.js"></script> </body> </html>

Related: See More


Questions / Comments: