Advertisement
Guest User

Untitled

a guest
Apr 17th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.58 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html>
  3.  
  4. <head>
  5.     <meta charset="utf-8">
  6.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.     <title>Tarea 6 Francisca J. Pérez Jiménez - El tiempo - </title>
  8.     <!--Inclusión de libreria jquery-->
  9.     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  10.     <script type="text/javascript" src="ajax.js"></script>
  11.     <style type="text/css">
  12.         label {
  13.             width: 150px;
  14.             float: left;
  15.             margin-bottom: 5px;
  16.         }
  17.  
  18.         input,
  19.         select {
  20.             width: 150px;
  21.             float: left;
  22.             margin-bottom: 5px;
  23.         }
  24.  
  25.         fieldset {
  26.             width: 350px;
  27.         }
  28.  
  29.     </style>
  30. </head>
  31.  
  32. <body>
  33.     <h2>Aplicación para consultar el Tiempo:</h2>
  34.     <fieldset>
  35.         <legend>El Tiempo</legend>
  36.         <form name="formulario" id="formulario" action="" method="get">
  37.             <label for="lugar">Ubicación </label>
  38.             <!--Solicito el nombre de la Ubicación para mostrar el tiempo-->
  39.             <input type="text" name="lugar" id="lugar" value="" maxlength="120" required><br/>
  40.             <span id="error"></span>
  41.             <input type="submit" id="hoy" name="hoy" value="Previsión Hoy" />
  42.             <input type="submit" id="dias" name="dias" value="Previsión 4 días" />
  43.         </form>
  44.     </fieldset>
  45.     <h2>Conectando con la API de tiempo</h2>
  46.     <div class="eltiempo" id="tiempo"></div>
  47.  
  48. </body>
  49.  
  50. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement