[R] Sitio Web Básico en Boostrap

 

Código:

 

<!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>Untitled Document</title>
    <!-- Bootstrap -->
	<link href="css/bootstrap-4.4.1.css" rel="stylesheet">
	
  </head>
  <body>
  	<!-- ==================================================== -->
	<!-- ================ MENÚ ================= -->
	<!-- ==================================================== -->
	  
	  
     <nav class="navbar navbar-expand-lg navbar-light bg-light"> <a class="navbar-brand" href="#">LOGOTIPO</a>
	    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent1" aria-controls="navbarSupportedContent1" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>
	    <div class="collapse navbar-collapse" id="navbarSupportedContent1">
	      <ul class="navbar-nav mr-auto">
	        <li class="nav-item active"> <a class="nav-link" href="index.html">Inicio<span class="sr-only">(current)</span></a> </li>
	        <li class="nav-item"> <a class="nav-link" href="#">Nosotros</a> </li>
	        <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Portafolio </a>
	          <div class="dropdown-menu" aria-labelledby="navbarDropdown1"> <a class="dropdown-item" href="#">Personales</a> <a class="dropdown-item" href="#">Proyectos</a>
	            <div class="dropdown-divider"></div>
	            <a class="dropdown-item" href="#">Casos de Estudio</a> </div>
            </li>
	        <li class="nav-item"> <a class="nav-link disabled" href="#">Deshabilitado</a> </li>
          </ul>
	      <form class="form-inline my-2 my-lg-0">
	        <input class="form-control mr-sm-2" type="search" placeholder="Ingresar búsqueda" aria-label="Search">
	        <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Buscar</button>
          </form>
       </div>
  </nav>
	  
<!-- ==================================================== -->
	<!-- ================ SLIDER ================= -->
	<!-- ==================================================== -->
	  
	  
	  
	  <div id="carouselExampleIndicators1" class="carousel slide" data-ride="carousel" style="background-color: grey">
	    <ol class="carousel-indicators">
	      <li data-target="#carouselExampleIndicators1" data-slide-to="0" class="active"></li>
	      <li data-target="#carouselExampleIndicators1" data-slide-to="1"></li>
	      <li data-target="#carouselExampleIndicators1" data-slide-to="2"></li>
		  <li data-target="#carouselExampleIndicators1" data-slide-to="3"></li>
        </ol>
	    <div class="carousel-inner" role="listbox">
	      <div class="carousel-item active"> <img class="d-block mx-auto" src="https://picsum.photos/1920/400" alt="First slide">
	        <div class="carousel-caption">
	          <h5>Titulo Imagen 01 Slider</h5>
	          <p>Esta es la descripción del slider que contiene la imagen 01</p>
            </div>
          </div>
	      <div class="carousel-item"> <img class="d-block mx-auto" src="https://picsum.photos/1921/400" alt="Second slide">
	        <div class="carousel-caption">
	          <h5>Titulo Imagen 02 Slider</h5>
	          <p>Esta es la descripción del slider que contiene la imagen 02</p>
            </div>
          </div>
			
			
	      <div class="carousel-item"> <img class="d-block mx-auto" src="https://picsum.photos/1922/400" alt="Third slide">
	        <div class="carousel-caption">
	          <h5>Titulo Imagen 03 Slider</h5>
	          <p>Esta es la descripción del slider que contiene la imagen 03</p>
            </div>
          </div>
			
			
			<div class="carousel-item"> <img class="d-block mx-auto" src="https://picsum.photos/1923/400" alt="Fourth slide">
	        <div class="carousel-caption">
	          <h5>Titulo Imagen 04 Slider</h5>
	          <p>Esta es la descripción del slider que contiene la imagen 04</p>
            </div>
          </div>
			
			
			
        </div>
		  
		<!-- FLECHAS DE SLIDER   
	    <a class="carousel-control-prev" href="#carouselExampleIndicators1" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carouselExampleIndicators1" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> 
	  	-->
		  
	  </div>
	  
	  
	  
<!-- ==================================================== -->
	<!-- ================ INTRODUCCION ================= -->
	<!-- ==================================================== -->
	  
	  
	  <section class="w-50 mt-5 mx-auto text-center mb-5">
	  
	  
		  <h1>TITULO DE INTRODUCCIÓN</h1>
		  
		  <p>Este es el contenido de la etiqueta P de diseño. Este es el contenido de la etiqueta P de diseño. Este es el contenido de la etiqueta P de diseño. Este es el contenido de la etiqueta P de diseño. Este es el contenido de la etiqueta P de diseño. Este es el contenido de la etiqueta P de diseño. Este es el contenido de la etiqueta P de diseño.</p>
	  
	  
	  
	  </section>
	  
	  
	  
<!-- ==================================================== -->
	<!-- ================ TARJETAS ================= -->
	<!-- ==================================================== -->
	  
	  
  <div class="bg-light">
	  
  <div class="row w-75 mx-auto">
    
    <div class="col-4 mt-5 mb-5">
      
      <div class="card col-md-4 col-xl-12"> <img class="card-img-top pt-3" src="https://picsum.photos/318/180" alt="Card image cap">
        <div class="card-body">
          <h5 class="card-title">TITULO TARJETA 01</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
          <a href="#" class="btn btn-primary">VER AHORA</a> </div>
      </div>
      
      </div>
    
    
    
    <div class="col-4 mt-5 mb-5">
      
      <div class="card col-md-4 col-xl-12"> <img class="card-img-top pt-3" src="https://picsum.photos/319/180" alt="Card image cap">
        <div class="card-body">
          <h5 class="card-title">TITULO TARJETA 02</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
          <a href="#" class="btn btn-primary">VER AHORA</a> </div>
      </div>
      </div>
    
    <div class="col-4 mt-5 mb-5">
      
      <div class="card col-md-4 col-xl-12"> <img class="card-img-top pt-3" src="https://picsum.photos/320/180" alt="Card image cap">
        <div class="card-body">
          <h5 class="card-title">TITULO TARJETA 03</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
          <a href="#" class="btn btn-primary">VER AHORA</a> </div>
      </div>
      </div>
    
    
    
    </div>
  </div>
	  
	  
	  
	  
	  
<!-- ==================================================== -->
	<!-- ================ FORMULARIO  ================= -->
	<!-- ==================================================== -->
	  
	  
	  
	  <div class="w-50 mx-auto mt-5 mb-5">
	    <form>
	      <div class="form-group ">
	        <label for="exampleInputEmail1">Correo electrónico</label>
	        <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Coloque su correo">
	        <small id="emailHelp1" class="form-text text-muted">Nunca compartiremos su correo con nadie.</small> </div>
	      <div class="form-group">
	        <label for="exampleInputPassword1">Contraseña</label>
	        <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Ingrese su contraseña">
          </div>
	      <div class="form-check">
	        <input type="checkbox" class="form-check-input" id="exampleCheck1">
	        <label class="form-check-label" for="exampleCheck1">Acepto las condiciones</label>
          </div>
	      <button type="submit" class="btn btn-primary">Enviar</button>
        </form>
  </div>
	  
		  
	  
<!-- ==================================================== -->
	<!-- ================ FOOTER  ================= -->
	<!-- ==================================================== -->
	  
	  
  <footer class="text-center mt-5 pt-5 pb-5 bg-dark text-light">
	  
	  
		  <h5><strong>Nombre de la empresa</strong></h5>
		  
		  <p class="text-secondary">Todos los derechos reservados</p>
		  
		  <p class="text-secondary">© 2021</p>
	  
	  
	  
	  </footer>
	  
	  
	  
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> 
	<script src="js/jquery-3.4.1.min.js"></script>

	<!-- Include all compiled plugins (below), or include individual files as needed -->
	<script src="js/popper.min.js"></script> 
  <script src="js/bootstrap-4.4.1.js"></script>
  </body>
</html>

 

 

 


<< Regresar a principal


Enlaces adicionales.

Blog
Podcast
Grupo de Facebook
Paletas cromáticas


© TITO CAMPOS  |  Todos los derechos reservados. El Salvador.