Skip to content

Instantly share code, notes, and snippets.

@juarezpaf
Created March 19, 2009 23:40
Show Gist options
  • Save juarezpaf/82131 to your computer and use it in GitHub Desktop.
Save juarezpaf/82131 to your computer and use it in GitHub Desktop.
Markup do formulário de exemplo do episodio 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="pt-br" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tudo que você queria saber sobre formulários para web!!! - por JuarezPAF</title>
</head>
<body>
<div id="container">
<div id="header">
<h1><img src="img/logo.png" width="200" alt="Logo de Juarezpaf"/></h1>
</div><!-- /#header -->
<div id="content">
<form action="">
<fieldset>
<legend>Formulário de cadastro.</legend>
Nome <input type="text" name="nome"/>
Senha <input type="password" name="senha"/>
Estado Civil
<select name="est_civil" id="est_civil" tabindex="2">
<option>Selecione</option>
<option value="s">Solteiro</option>
<option value="c">Casado</option>
</select>
Sexo:
<input type="radio" name="sexo" value="m"/> Masculino
<input type="radio" name="sexo" value="f" id="fem"/>Feminino
<input type="checkbox" value="sim"/> Eu li e aceito os termos de condição
<input type="submit" value="Enviar"/> <input type="reset" value="Limpar Dados"/>
</fieldset>
</form>
</div><!-- /#content -->
</div><!-- /#container -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment