This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select name="txt_estado" id="txt_estado"> | |
<option value="AC">Acre</option> | |
<option value="AL">Alagoas</option> | |
<option value="AP">Amapá</option> | |
<option value="AM">Amazonas</option> | |
<option value="BA">Bahia</option> | |
<option value="CE">Ceará</option> | |
<option value="DF">Distrito Federal</option> | |
<option value="GO">Goiás</option> | |
<option value="ES">Espírito Santo</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Animação CSS3/HTML5</title> | |
<link rel="stylesheet" href="css/animate.css" type="text/css" media="screen" charset="utf-8"> | |
<link rel="stylesheet" href="css/css.css" type="text/css" media="screen" charset="utf-8"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="box" class="animate bounceIn"> | |
<p>Danilo Iannone blog.danilowm.com</p> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#box { | |
text-align: center; | |
background: green; | |
padding: 40px; | |
width: 200px; | |
color: #fff; | |
margin: 0 auto; | |
border-radius: 5px; | |
font-weight: bold; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( $sexo == "Masculino" ) { | |
echo "Você é homem"; | |
} | |
else { | |
echo "Você é mulher"; | |
} | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Depois do Interrogação( ? ) vem o TRUE | |
// Depois do Dois Pontos ( : ) vem o FALSE | |
echo ( $sexo == "Masculino" ? "Você é homem" : "Você é mulher" ); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Se existir $_GET['nome'] retorna o valor, senão, retorna vazio | |
$nome = isset($_GET['nome']) ? $_GET['nome'] : ''; | |
$email = isset($_GET['email']) ? $_GET['email'] : ''; | |
$mensagem = isset($_GET['mensagem']) ? $_GET['mensagem'] : ''; | |
echo $nome.'<br/>'.$email.'<br/>'.$mensagem; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php header ('Content-type: text/html; charset=UTF-8'); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php header ('Content-type: text/html; charset=ISO-8859-1'); ?> |
OlderNewer