A Pen by Fidel

Thumbnail
This awesome code was written by Impulso90, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright Impulso90 ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Fidel</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <html> 
<head> 
   <title>Cambiar el valor por defecto</title> 
 <script> 
   function seleccionar(){ 
      	document.miFormulario.campo1.style.background = "green"
    } 
         function quitar(){ 
      	document.miFormulario.campo1.style.background = "white"
    } 
   </script> 
</head>

<body> 
<form name="miFormulario" action="mailto:promocion@guiarte.com" enctype="text/plain"> 
<input type="button" value="Quiero leer" name="campo1" onclick="seleccionar()" ondblclick="quitar()">  
<select name="ad">
<option selected><option value="xxxx.htm">LEIDO
<option value="yyyy.htm">LEYENDO
<option value="zzzz.htm">DEJAR DE LEER
     </select>
<br> 
<br> 
<input type="button" value="Cambia valor por defecto" onclick="cambiaDefecto()"> 
</form> 
</body> 
</html>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/Impulso90/a-pen-by-fidel-ZaeyLb */
select {
  width:10px;
}

Comments