---
# System prepended metadata

title: Código Bootstrap
tags: ['html, bootstrap, web']

---

# Código Bootstrap

###### tags: `html, bootstrap, web`
## :memo: Código documentado | Alefe

> Aqui está o código completo
```
<!doctype html>
<html lang="pt-br">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">

    <title>Hello, world!</title>
  </head>
  <body>
    
    <div class='container-fluid'>

</div>
    
    <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
  </body>
</html>
```
## :memo: Código explicado por partes
> Esse código define qual é o tipo de documento
```htmlembedded=1
<!Doctype html>
```
> Esse código define em qual linguagem o documento será programado
```htmlembedded=2
<html lang="pt-br">
```
> Esses códigos abre e fecha o cabeçalho do documento
```htmlembedded=3
<head>

</head>
```
> Esse código converte o documento em padrão unicode
```htmlembedded4
  <meta charset="utf-8">
```
> Esse código costumiza para tipos de tela
```htmlembedded=5
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
```
> Esse código linka o css do bootstrap apartir de cdn
```htmlembedded=6
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
```
> Esse código Define o titulo da página
```htmlembedded=7
<title>Hello, world!</title>
```
> Esse código abre o corpo do documento
```htmlembedded=8
<body>

</body>
```
> Esse código define se o container é fluid ou seja que o documento abre um container do tamanho da tela
```htmlembedded=8
<div class='container-fluid'>

</div>
```
> Esse código linka o javascript do jquery
```htmlembedded=9
 <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
```
> Esse código linka o js do popper
```htmlembedded=10
 <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
```
> Esse código linka o js do bootstrap
```htmlembedded=11
 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
```
*Copyright © 2020 Alefe patrick*
(https://github.com/aleferamos)
