Pesquisar neste blog

25/11/2022

Tabela com Bootstrap em HTML

<!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.0">
<meta http-equiv="refresh" content="5">
<title>Bootstrap - Tipografia</title>

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous">

</head>
<body class="container mt-2">
<table class="table table-hover table-striped table-sm">
<thead>
<tr class="table-warning">
<th>1</th>
<th>x</th>
<th>2</th>
<th>=</th>
<th>Resultado</th>
</tr>
</thead>
<body>
<tr class="table-info">
<td>5</td>
<td>x</td>
<td>5</td>
<td>=</td>
<td>25</td>
</tr>
<tr class="table-secondary">
<td>6</td>
<td>x</td>
<td>4</td>
<td>=</td>
<td>24</td>
</tr>
<tr class="table-danger">
<td>7</td>
<td>x</td>
<td>7</td>
<td>=</td>
<td>49</td>
</tr>
<tr class="table-dark">
<td>8</td>
<td>x</td>
<td>5</td>
<td>=</td>
<td>40</td>
</tr>
<tr class="table-success">
<td>9</td>
<td>x</td>
<td>8</td>
<td>=</td>
<td>72</td>
</tr>
<tr class="table-ligh">
<td>10</td>
<td>x</td>
<td>7</td>
<td>=</td>
<td>70</td>
</tr>
</body>
</table>

<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"
crossorigin="anonymous">
</script>

</body>
</html>

Saída gerada










24/11/2022

Imagens com Bootstrap em HTML

<!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.0">
<meta http-equiv="refresh" content="5">
<title>Bootstrap - Tipografia</title>

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"
rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous">

</head>
<body class="container mt-4 bg-dark">
<img src="https://cdn.pixabay.com/photo/2017/12/06/11/03/brazil-3001462_960_720.png"
class="rounded shadow-lg col-6">

<img src="https://i.vimeocdn.com/video/1363024700-2f81ea62bf2cf4836312196cb07fbdd856b1c013183594410704004994605b25-d_640x360.jpg"
class="img-thumbnail">

<img src="https://cdn.pixabay.com/photo/2021/03/16/05/12/fashion-6098757_960_720.jpg"
class="img-fluid col-3">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.
bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//
f6V8Qbsw3"
crossorigin="anonymous">
</script>
</body>
</html>

Saída gerada











23/11/2022

Tipografia em Bootstrap com HTML

<!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.0">
<meta http-equiv="refresh" content="7">
<title>Bootstrap - Tipografia</title>

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"
rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous">

</head>
<body class="container">
<!-- class alinha do lado direito -->
<p class="text-primary display-1">Curso</p>
<p class="text-end text-danger display-6">Ánalise e Desenvolvimento de Sistemas</p>

<p class="text-center">Vida profissional</p>
O analista de sistemas analisa as operacionalidades das redes,
os sistemas de conexão e avalia
as ameaças de invasão. Planeja, especifica e desenvolve sistemas de
proteção de redes e de equipamentos de tecnologia da informação.
Investiga e monitora ataques. Estabelece procedimentos contra invasão
de redes e guerra eletrônica. Coordena equipes de trabalho. Vistoria,
realiza perícia, avalia, lauda e emite parecer técnico em sua área de
formação.



<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.
bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//
f6V8Qbsw3"
crossorigin="anonymous">
</script>
</body>
</html>

Saída gerada







22/11/2022

Botões com Bootstrap em HTML

<!-- FORMULÁRIOS -->
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap</title>

<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"
rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous">
<meta http-equiv="refresh" content="5"><!--atualiza a página a cada 3 segundos-->

</head>
<body class="container pt-5"> <!--text inverte a cor do texto-->
<!-- tag de formulários -->
<form>
<p>Com Bootstrap</p>
<input type="text" placeholder="Digite seu texto aqui" class="form-control">
<input type="checkbox" class="form-check-input">
<input type="radio" class="form-check-input">
<input type="range" class="form-range">
<select class="form-select">
<option value="">Opção 1</option>
<option value="">Opção 2</option>
</select>
<textarea class="form-comtrol">Com Bootstrap</textarea><!--form-control-->
<br><button>Enviar 1</button>
<br><button class="btn btn-primary">Enviar 2</button>
<br><button class="btn btn-secondary">Enviar 3</button>
<br><button class="btn btn-success">Enviar 4</button>
<br><button class="btn btn-warning">Enviar 5</button>
<br><button class="btn btn-outline-primary">Enviar 6</button><!--Muda a cor ao passar o mouse-->
<br><button class="btn btn-info">Enviar 7</button>
<br><button class="btn btn-dark">Enviar 8</button>
<br><button class="btn btn-light">Enviar 9</button>
<br><button class="btn btn-link">Enviar 10</button>
<br><a href="#" class="btn btn-dark">Aqui vai um link</a>
<br><input type="submit" class="btn btn-success" value="Enviar 11">
<br><button class="btn btn-primary btn-sm">Enviar 12</button>
<br><button class="btn btn-outline-primary btn-lg">Enviar 13</button>
<div class="d-grid">
<button class="btn btn-primary btn-sm">Enviar 14</button>
</div>



<br><br><p>Sem Bootstrap</p>
<input type="text" placeholder="Digite seu texto aqui"><br>
<br><input type="checkbox">
<br><input type="radio">
<br><input type="range"><br>
<select>
<option value="">Opção 1</option>
<option value="">Opção 2</option>
</select><br>
<textarea name="" id="" cols="30" rows="10">Sem Bootstrap</textarea>
<br><button>Enviar</button>
</form>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.
bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//
f6V8Qbsw3"
crossorigin="anonymous">
</script>
</body>
</html>


Saída gerada

20/11/2022

Box model com Bootstrap em HTML

<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap</title>

<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.
min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5ID
xbcnCeuOxjzrPF/et3URy9Bv1WTRi"crossorigin="anonymous">
<meta http-equiv="refresh" content="5"><!--atualiza a página a cada 5 segundos-->

</head>
<body> <!--text inverte a cor do texto-->

<div class="container">
<p class="display-1 bg-warning">Título 1</p>
<span class="display-1 bg-warning border">Título 2</span><br><br>
<span class="display-1 bg-warning border border-primary border-5">Título 3
</span><br><br>
<p class="display-1 bg-warning border border-primary">Título 4</p>
<p class="display-1 bg-warning border border-primary border-5 m-5">
T´itulo 5</p>
<p class="display-1 bg-warning border border-primary border-5 m-5 p-5">
Título 6</p>
<p class="display-1 bg-warning border border-primary border-5 pt-5">
Título 7</p>
<p class="display-1 bg-warning border border-primary border-5 pb-5">
Título 8</p>
<p class="display-1 bg-warning border border-primary border-5 ps-5">
Título 9</p>
<p class="display-1 bg-warning border border-primary border-5 pe-0
text-end">Título 10</p>
<p class="display-1 bg-warning border border-primary border-5 mt-0
text-end">Título 11</p>
<p class="display-1 bg-warning border border-primary border-5 me-5
text-end">Título 12</p>
<p class="display-1 bg-warning border border-primary border-5 mx-0
text-end">Título 13</p>
<p class="display-1 bg-warning border border-primary border-5 my-0
text-end">Título 13</p>
</div>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.
bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//
f6V8Qbsw3"
crossorigin="anonymous">
</script>
</body>
</html>

Saída gerada no navegador

























Palavras chave:

Box model with Bootstrap in HTML
Блочная модель с Bootstrap в HTML
HTML ਵਿੱਚ ਬੂਟਸਟਰੈਪ ਵਾਲਾ ਬਾਕਸ ਮਾਡਲ
HTML में बूटस्ट्रैप के साथ बॉक्स मॉडल
דגם Box עם Bootstrap ב-HTML
Boxmodell med Bootstrap i HTML
HTML मध्ये Bootstrap इत्यनेन सह बॉक्स मॉडल्
Model de caixa amb Bootstrap en HTML

19/11/2022

Formulário com Bootstrap em HTML

<!-- FORMULÁRIOS -->
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap</title>

<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/
bootstrap.min.css"
rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5
IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous">
<meta http-equiv="refresh" content="5"><!--atualiza a página a cada 3 segundos-->

</head>
<body class="container pt-5"> <!--text inverte a cor do texto-->
<!-- tag de formulários -->
<form action="">
<p>Com Bootstrap</p>
<input type="text" placeholder="Digite seu texto aqui"
class="form-control">
<input type="checkbox" class="form-check-input">
<input type="radio" class="form-check-input">
<input type="range" class="form-range">
<select class="form-select">
<option value="">Opção 1</option>
<option value="">Opção 2</option>
</select>
<textarea class="form-comtrol">Com Bootstrap</textarea><!--form-control-->

<br><br><p>Sem Bootstrap</p>
<input type="text" placeholder="Digite seu texto aqui"><br>
<input type="checkbox">
<input type="radio">
<input type="range">
<select>
<option value="">Opção 1</option>
<option value="">Opção 2</option>
</select>
<textarea name="" id="" cols="30" rows="10">Sem Bootstrap</textarea>
</form>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/
bootstrap.bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+
mo//f6V8Qbsw3"
crossorigin="anonymous">
</script>
</body>
</html>


Saída gerada no navegador



17/11/2022

Colunas com Bootstrap em HTML

<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap</title>

<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/
bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl
0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous">
<meta http-equiv="refresh" content="3"><!--atualiza a página a cada 3 s-->

</head>
<body> <!--text inverte a cor do texto-->
<div class="container-fluid"> <!-- Centraliza todo o conteúdo dessa div-->
<h1>Blog da engenharia cotidiana</h1>
<div class="row bg-primary">
<div class="col bg-warning col-12 col-xxl-2
col-xl-4 col-lg-6 col-md-8 col-sm-10"><!--xl=em 1 resolução de 6 espaço ocupe apenas 4-->
<p>1</p>
<p>2</p>
<p>3</p>
<p>4</p>
<p>5</p>
<p>6</p>
</div>
<div class="col bg-danger col-12 col-xxl-2
col-xl-4 col-lg-6 col-md-8 col-sm-10">
<p>1</p>
<p>2</p>
<p>3</p>
<p>4</p>
<p>5</p>
<p>6</p>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/
bootstrap.bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+
mo//f6V8Qbsw3"
crossorigin="anonymous">
</script>
</body>
</html>


Saída gerada










16/11/2022

Grade com Bootstrap em HTML

<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap</title>

<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/
css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/
et3URy9Bv1WTRi" crossorigin="anonymous">
<!--atualiza a página a cada 3 segundos-->
<meta http-equiv="refresh" content="3">

</head>
<body> <!--text inverte a cor do texto-->
<h1>Blog da engenharia cotidiana</h1>
<div class="row bg-dark">
<div class="col bg-warning">
<p>Linha 1 | Coluna 1</p>
</div>
<div class="col bg-danger">
<p>Linha 1 | Coluna 2</p>
</div>
<div class="col bg-info">
<p>Linha 1 | Coluna 3</p>
</div>
</div>

<div class="row bg-primary">
<div class="col bg-info">
<p>Linha 2 | Coluna 1</p>
</div>
<div class="col bg-success">
<p>Linha 2 | Coluna 2</p>
</div>
<div class="col bg-warning">
<p>linha 2 | coluna 3</p>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/
bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqME
jwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous">
</script>
</body>
</html>

Saída gerada no navegador











15/11/2022

Multiplexação por divisão de frequência no MATLAB

Código feito no Matlab
% test_orthogonality.m
% Verificar a ortogonalidade entre alguns sinais senoidais
% com diferentes frequências/fases
clear, clf
T=1.6; ND=1000; nn=0:ND; ts=0.002; tt=nn*ts; % Intervalo de tempo
Ts = 0.1; M = round(Ts/ts); %Período de amostragem em tempo contínuo/discreto
nns = [1:M:ND+1]; tts = (nns-1)*ts; % Índices e tempos de amostragem
ks = [1:4 3.9 4]; tds = [0 0 0.1 0.1 0 0.15]; % Frequências e atrasos
K = length(ks);
for i=1:K
k=ks(i); td=tds(i); x(i,:) = exp(j*2*pi*k*(tt-td)/T);
if i==K, x(K,:) = [x(K,[302:end]) x(K-3,[1:301])]; end
subplot(K,2,2*i-1), plot(tt,real(x(i,:))),
hold on, plot(tt([1 end]),[0 0],'k'), stem(tts,real(x(i,nns)),'.')
end
N = round(T/Ts); xn = x(:,nns(1:N));
xn*xn'/N % verificar ortogonalidade
Xk = fft(xn.').'; kk = 0:N-1;
for i=1:K, k=ks(i); td=tds(i); subplot(K,2,2*i), stem(kk,abs(Xk(i,:)),'.')end








Saída gerada no Matlab online