Segue o exercício de Revisão 2. As células com campos amarelos são para montagem das fórmulas conforme as anotações (estoque, margem de lucro, margem de lucro vendido), os resultados foram colocados na primeira célula para você verificar o resultado.
Mostrando postagens com marcador Aulas. Mostrar todas as postagens
Mostrando postagens com marcador Aulas. Mostrar todas as postagens
quarta-feira, 10 de março de 2021
quarta-feira, 3 de março de 2021
Curso de Excel Empresa A+ (aula 1)
Segue o exercício de revisão e um desafio que está nas células com campos verdes, montem as fórmulas conforme as anotações e os campos em amarelo (Total de Receitas, Subtotal, total de despesas, saldo total), os valores foram colocado para você verificar o resultado.
terça-feira, 5 de março de 2019
terça-feira, 17 de janeiro de 2017
Javascript exemplo3 -indice de massa corporal - IMC
Segue exemplo 3 IMC - JAVASCRIPT
<HTML>
<head><title>formulario IMC</title> //Vamos criar calculo do imc no formulario
</head>
<BODY>
<fieldset>
<pre><center>
<h2>Tabela imc </h2>
<b>masculino</b> <b>feminino</b>
menor 20.7 abaixo do peso menor 19.1 abaixo do peso
menor 26.4 peso normal menor 25.8 peso normal
menor 31.1 acima do peso menor 27.3 acima do peso
maior obesidade morbida maior obesidade morbida
</center></pre>
<fieldset>
<FORM>
<fieldset>
<br>Peso: <INPUT TYPE='text' NAME='peso'>
<P>Altura: <INPUT TYPE='text' NAME='altura'>
<P>Resultado: <INPUT TYPE='text' NAME='resultado'>
<P><INPUT TYPE='button' VALUE='imc'
onclick='form.resultado.value=(form.peso.value/
(form.altura.value*form.altura.value))'>
<INPUT TYPE='button' VALUE='Limpar'
onclick="form.resultado.value='' ;form.peso.value='' ;
form.altura.value=''">
</fieldset>
</FORM>
</BODY></HTML>
sexta-feira, 6 de janeiro de 2017
Javascript exemplo2 - try/catch com funções internas
Segue exemplo 2 com try/catch em javascript.
<!DOCTYPE html>
<html>
<head><title>Usando Funções internas</title>
</head>
<body>
<h2> Exemplo1</h2>
<script>
try{
var x=a;
var b= x+10;
alert(b);
}
catch (e){
alert(e.toString());}
finally{
document.write("Fim");}
</script>
<hr/>
<h2> Exemplo2</h2>
<script>
var x = prompt("Informe o valor maior que 10");
try{
if (x<10){
throw "Numero menor que 10";}
alert(x);
}
catch (e){
alert(e);}
finally{
document.write("Fim");}
</script>
<hr/>
</body>
</html>
<!DOCTYPE html>
<html>
<head><title>Usando Funções internas</title>
</head>
<body>
<h2> Exemplo1</h2>
<script>
try{
var x=a;
var b= x+10;
alert(b);
}
catch (e){
alert(e.toString());}
finally{
document.write("Fim");}
</script>
<hr/>
<h2> Exemplo2</h2>
<script>
var x = prompt("Informe o valor maior que 10");
try{
if (x<10){
throw "Numero menor que 10";}
alert(x);
}
catch (e){
alert(e);}
finally{
document.write("Fim");}
</script>
<hr/>
</body>
</html>
---------------------------------------------------------------------
terça-feira, 27 de dezembro de 2016
Javascript exemplo 1 - calculadora com operações com button
Segue exemplo 1 com operações em javascript calculadora
<!DOCTYPE html>
<html>
<head>
<title> Operações </title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<style>
#div1 {
border-style: solid;
border-color: blue;
border-bottom-color: black;
border-top-color: black;
border-left-color: red;
border-right-color: red;
border-radius: 2cm;
border-width: 60px;
}
body {
background-color: dodgerblue;
}
h1 {
color: azure;
}
.b {
color: white;
background-color: blue;
border-color: black;
}
</style>
</head>
<body>
<script>
function soma() {
var soma = new Number(document.getElementById("valor1").value)
+ new Number(document.getElementById("valor2").value);
alert("Valor 1 + Valor 2: " + soma);
}
function sub() {
var sub = new Number(document.getElementById("valor1").value)
- new Number(document.getElementById("valor2").value);
alert("Valor 1 - Valor 2: "+sub);
}
function mult() {
var mult = new Number(document.getElementById("valor1").value)
* new Number(document.getElementById("valor2").value);
alert("Valor 1 * Valor 2: "+mult);
}
function div() {
var div = new Number(document.getElementById("valor1").value)
/ new Number(document.getElementById("valor2").value);
alert("Valor 1 / Valor 2: " +div);
}
</script>
<center>
<div id="div1">
<h1> OPERADORES </h1>
<br>
<br>
<button onclick="soma();" class="b"> Soma </button>
<button onclick="sub();" class="b"> Subtração </button>
<button onclick="mult();" class="b"> multiplicação </button>
<button onclick="div();" class="b"> Divisão </button>
<br>
<br>
<p> Valor 1: <input type="text" value="0" id="valor1"/> </p>
<p> Valor 2: <input type="text" value="0" id="valor2"/> </p>
</div>
</center>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title> Operações </title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<style>
#div1 {
border-style: solid;
border-color: blue;
border-bottom-color: black;
border-top-color: black;
border-left-color: red;
border-right-color: red;
border-radius: 2cm;
border-width: 60px;
}
body {
background-color: dodgerblue;
}
h1 {
color: azure;
}
.b {
color: white;
background-color: blue;
border-color: black;
}
</style>
</head>
<body>
<script>
function soma() {
var soma = new Number(document.getElementById("valor1").value)
+ new Number(document.getElementById("valor2").value);
alert("Valor 1 + Valor 2: " + soma);
}
function sub() {
var sub = new Number(document.getElementById("valor1").value)
- new Number(document.getElementById("valor2").value);
alert("Valor 1 - Valor 2: "+sub);
}
function mult() {
var mult = new Number(document.getElementById("valor1").value)
* new Number(document.getElementById("valor2").value);
alert("Valor 1 * Valor 2: "+mult);
}
function div() {
var div = new Number(document.getElementById("valor1").value)
/ new Number(document.getElementById("valor2").value);
alert("Valor 1 / Valor 2: " +div);
}
</script>
<center>
<div id="div1">
<h1> OPERADORES </h1>
<br>
<br>
<button onclick="soma();" class="b"> Soma </button>
<button onclick="sub();" class="b"> Subtração </button>
<button onclick="mult();" class="b"> multiplicação </button>
<button onclick="div();" class="b"> Divisão </button>
<br>
<br>
<p> Valor 1: <input type="text" value="0" id="valor1"/> </p>
<p> Valor 2: <input type="text" value="0" id="valor2"/> </p>
</div>
</center>
</body>
</html>
sexta-feira, 23 de dezembro de 2016
CSS- externo com DIV em HTML- Aula10
HTML com DIV e CSS Externo
Segue o segundo exemplo com DIV e CSS Externo:
OBS: "As imagens não estão aqui mas vc. poderá colocar outras imagens de universidades".
Segue o segundo exemplo com DIV e CSS Externo:
OBS: "As imagens não estão aqui mas vc. poderá colocar outras imagens de universidades".
index.css
--------------------------------------------------------------------------------------
body{
background-color:#CCCC99;
}
div.topico{
width: 24%;
height:300px;
float:left;
background-color: white;
margin:4px;
}
div.geral{
width:100%;
height:308px;
background-color:bisque;
}
h3{
font-family: Arial;
text-align: center;
}
h6{
font-family: Arial;
text-align: center;
}
a{
text-decoration: none;
}
body{
color:red;
}
index.html
-----------------------------------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>Universidades</title>
<meta charset="ISO-8859-15">
<meta name="viewport" content="width=device-width">
<link type="text/css" rel="stylesheet" href="index.css">
</head>
<body>
<center><h2>Universidades</h2></center>
<div class="geral">
<div class="topico" >
<a href="http://www.ufrj.br/"><img src="logo_ufrj.jpg" width="100%" height="180px">
<h3>UFRJ</h3>
<h6>Universidade Federal do Rio de Janeiro</h6></a>
</div>
<div class="topico" >
<a href="http://www.ufes.br/"><img src="logo_ufes.jpeg" width="100%" height="180px">
<h3>UFES</h3>
<h6>Universidade Federal de Espiríto Santo</h6></a>
</div>
<div class="topico" >
<a href="http://www.ufmg.br/"><img src="logo_ufmg.jpg" width="100%" height="180px">
<h3>UFMG</h3>
<h6>Universidade Federal de Minas Gerais</h6></a>
</div>
<div class="topico" >
<a href="http://www.unifesp.br/"><img src="logo_unifesp.jpg" width="100%" height="180px">
<h3>UNIFESP</h3>
<h6>Universidade Federal de São Paulo</h6></a>
</div>
</div>
</body>
</html>
-----------------------------------------------------------------------------------------
terça-feira, 20 de dezembro de 2016
CSS- externo com DIV em HTML- Aula9
HTML com DIV e CSS Externo
Segue o quarto exemplo com DIV e CSS Externo:
Segue o quarto exemplo com DIV e CSS Externo:
OBS: "A pasta de imagem não esta aqui mas poderá colocar outras imagens".
-------------------------------------------------------------------------------
body{
background: url("img/fundo_cinza_claro.jpg") repeat-x;
text-align:center;
font-family:Geneva, Arial, Helvetica, sans-serif;
}
#estrutura{
width:789px;
margin:0 auto;
text-align:left;
}
#esquerda{
width:200px;
height:505px;
background: url("img/fundo_cinza.jpg") repeat-x;
float:left;
}
#direita{
width:550px;
height:500px;
padding-left:10px;
padding-top:5px;
background-color:blue;
float:left;
font-size:12px;
}
.barra{
width:194px;
height:28px;
background: url("img/fundo_cinza_small.jpg") repeat-x;
padding:9px 3px 3px 3px;
}
.barra h1{
color:white;
font-weight:bold;
font-size:18px;
margin:0 0 0 0;
}
#esquerda ul
{
list-style-type: none;
padding: 0.5em 0.5em 0.5em 0.5em;
background-color: blue;
}
#esquerda ul li a
{
font-size:14px;
text-decoration: none;
color:#000000;
display: block;
}
#esquerda ul li a:hover
{
color: red;
}
principal.html
-------------------------------------------------------------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ANSI" />
<link rel="stylesheet" type="text/css" href="style_cinza.css"/>
<title>::RODRIGOWEB e-Learning :: Mural de Recados</title>
</head>
<body>
<div id="estrutura">
<div id="esquerda">
<div class="barra">
<h1>CURSOS WEB</h1>
</div>
<ul>
<li><a href="http://www.w3schools.com/php/default.asp"
target="iframe_a">PHP</a></li>
<li><a href="http://www.w3schools.com/js/default.asp"
target="iframe_a">JAVASCRIPT</a></li>
<li><a href="http://www.w3schools.com/css/default.asp"
target="iframe_a">CSS</a></li>
<li><a href="http://www.w3schools.com/html/default.asp"
target="iframe_a">HTML5</a></li>
</ul>
</div>
<div id="direita">
<iframe src="img/web4.jpg" width="540" height="500"
name="iframe_a"></iframe>
</div>
</div>
</body>
</html>
---------------------------------------------------------------------------------------------------
quinta-feira, 15 de dezembro de 2016
CSS- externo com HTML- Aula8
HTML com CSS Externo
Segue o terceiro exemplo com Externo:
Segue o terceiro exemplo com Externo:
ESTILOS_02.css
-----------------------------------------------------------------------
body
{
background-color:green;
}
h1 {
font-family:tahoma;
font-size:50px;
color:blue;
text-transform: uppercase;
}
h2 {
color: yellow;
text-transform: none;
}
p {
text-indent: 1cm;
line-height: 20px;
text-align: left;
}
-------------------------------------------------------------------------------
exerciciocssexterno.html
<html>
<head>
<title>Matérias Wed</title>
<link rel="stylesheet" type="text/css" href="ESTILOS_02.css"/>
</head>
<body>
<h1> Materias Web </h1>
<h2> WEB1</h2><p>HTML+CSS</p>
<h2> WEB2</h2><p>JavaScript + XML</p>
<h2> DESV.WEB</h2><p>NetBeans+JDK</p>
<h2> PROGR.WEB</h2><p>PHP+MySQL</p>
</body>
</html>
-------------------------------------------------------------------------------
terça-feira, 13 de dezembro de 2016
CSS- externo com HTML- Aula7
HTML com CSS Externo
Segue o segundo exemplo com Externo:
Segue o segundo exemplo com Externo:
ESTILOS_01.css
body
{
background-color:#aa3899;;
}
h1 {
font-family:tahoma;
font-size:28px;
color:#124567;
text-transform: uppercase
}
h2 {
color: #FF0000;
//line-through;
text-transform: none
}
h3 {
display: block;
text-align: right;
color: #dddddd;
font-size: 80pt;
font-family: Arial,helvetica,sans-serif;
}
p {
//text-ident: 1cm;
line-height: 20px;
text-align: left;
}
--------------------------------------------------------------------------------
exemplo2_css
<html>
<head>
<title> Bem vindo! </title>
<link rel= "stylesheet" type=
"text/css" href= "ESTILOS_01.CSS"
/>
</head>
<body>
<h1> Textos </h1>
<h2> Mudanças do h2 </h2>
<h3> Mudanças do h3 </h3>
<p> texto do parágrafo ........
</p>
</body>
</html>
---------------------------------------------------------------------------------
quinta-feira, 8 de dezembro de 2016
CSS- externo com HTML- Aula6
HTML com CSS Externo
Segue o sexto exemplo com Externo:
Segue o sexto exemplo com Externo:
<html>
<head>
<title> Bem vindo! </title>
<meta charset="ISO-8859-15">
<link rel= "stylesheet" type="text/css" href= "ESTILOS_01.CSS"/>
</head>
<body>
<h1> Textos </h1>
<h2> Mudanças </h2>
<p> texto do parágrafo ........
</p>
</body>
</html>
________________________________________________________
ESTILOS_01.CSS (arquivo externo)
body
{background-color:yellow;}
h1 {
font-family:tahoma;
text-align:center;
font-size:50px;
color:#CC3299;
text-transform: uppercase;
}
h2 {
color: #FF0000;
text-transform: none;
}
p {
text-indent: 1cm;
line-height: 20px;
text-align: left;
}
segunda-feira, 5 de dezembro de 2016
domingo, 4 de dezembro de 2016
CSS- Interno com HTML- Aula4
HTML com CSS Interno
Segue o quarto exemplo com Interno:
Segue o quarto exemplo com Interno:
<html>
<head>
<meta charset="ISO-8859-15">
<meta charset="utf8">
<style type="text/css">
body {background-color:yellow;}
p {color:blue;
font-size:20px;}
h1{color:red;
text-align:center;}
</style>
<TITLE> EXEMPLO DE COR DE FUNDO</TITLE>
</head>
<body>
<h1>Cabeçalho do texto</h1>
<p>Este é o paragrafo.</p>
</body>
</html>
sábado, 3 de dezembro de 2016
sexta-feira, 2 de dezembro de 2016
CSS- Inline com HTML- Aula2
Segue o segundo exemplo com Inline:
<html>
<head>
<title>Curso de CSS</title>
<meta charset="ISO-8859-15">
<meta charset="utf8">
</head>
<body>
<h1 style="font-family:verdana;">O cabeçalho</h1>
<p style="font-family:arial;color:red;
font-size:20px;">O parágrafo.</p>
</body>
</html>
quinta-feira, 1 de dezembro de 2016
CSS- Inline com HTML- Aula1
HTML com CSS Styling
CSS foi introduzido
junto com o HTML 4, para fornecer uma maneira melhor de estilo elementos HTML.
CSS pode ser
adicionada a HTML das seguintes maneiras:
- Inline - usando o estilo de atributo em elementos HTML.
- Interna - usando o <style> elemento na seção <head>
-
Externa - usando uma CSS externa arquivoA maneira preferida para adicionar CSS para HTML, é colocar a sintaxe CSS em arquivos separados CSS.
Segue o exemplo com Inline
segunda-feira, 16 de setembro de 2013
sábado, 24 de agosto de 2013
MATERIAL E TABELAS DO CURSO POSTGREESQL
Caros alunos,
Material da aula e as tabelas para a pratica do Curso de PostgreeSql.
Link: Material da aula
Link: Talela PostgreeSql
Abs.
Material da aula e as tabelas para a pratica do Curso de PostgreeSql.
Link: Material da aula
Link: Talela PostgreeSql
Abs.
quarta-feira, 14 de agosto de 2013
2 ETAPA (FORMULARIO E OO) AULA 7 - PHP
Caros alunos segue através do link a matéria da aula 7 DA 2 ETAPA de PHP, feita em sala de aula.
LINK:2 ETAPA (FORMULARIO E OO) AULA 7 - PHP
LINK:2 ETAPA (FORMULARIO E OO) AULA 7 - PHP
2 ETAPA (FORMULARIO E OO) AULA 6 - PHP
Caros alunos segue através do link a matéria da aula 6 DA 2 ETAPA de PHP, feita em sala de aula.
LINK: 2 ETAPA (FORMULARIO E OO) AULA 6 - PHP
LINK: 2 ETAPA (FORMULARIO E OO) AULA 6 - PHP
Assinar:
Postagens (Atom)















