Skip to content

Instantly share code, notes, and snippets.

@marcoscastro
Created February 11, 2014 05:56
Show Gist options
  • Save marcoscastro/8929909 to your computer and use it in GitHub Desktop.
Save marcoscastro/8929909 to your computer and use it in GitHub Desktop.
Código HTML referente a uma aplicação básica utilizando JavaScript
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Exemplo JavaScript</title>
</head>
<body>
<div id="cabecalho"><h1>www.GeeksBR.com</h1></div>
<div id="main">
<div class="row">
<label>Selecione a sua linguagem favorita: </label>
<select id="linguagem">
<option value="python">Python</option>
<option value="javascript">JavaScript</option>
<option value="cpp">C++</option>
<option value="assembly">Assembly</option>
</select>
</div>
</br>
<div class="row">
<label>Digite seu nome: </label>
<input type="text" id="nome" />
</div>
</br>
<font color="red">
<div id="alerta_nome"></div>
</font>
<div class="row">
<button id="botao_enviar">Enviar resposta</button>
</div>
</br>
<div class="row">
<textarea id="area_texto" cols=50 rows=5 readonly>Os dados irao aparecer aqui!</textarea>
</div>
</br>
<div class="row">
<button id="botao_geeksbr">Clique aqui para acessar o GeeksBR</button>
<a href="http://www.geeksbr.com" target="_blank" id="abrir_geeksbr"></a>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment