Mi solución al ejercicio CU00728B del curso HTML desde cero:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Portal básico - aprenderaprogramar.com</title>
</head>
<body>
<div id="page" style="width: 980px; text-align: center; margin: auto; border: 2px solid gray;">
<div id="header">
Portal (Tutorial básico del programador web: HTML desde cero) - aprenderaprogramar.com
</div>
<br/><br/><br/>
<div id="wrapper">
<div id="menu">
<div>Menú</div>
<hr style="color: red; background-color: red; width: 50%;"/>
<ul>
<li><a href="#">Portada</a></li>
<li>
<a href="https://www.aprenderaprogramar.com">aprenderaprogramar.com</a>
</li>
</ul>
</div>
<div id="body">
<form method="post" action="http://aprenderaprogramar.com" enctype="multipart/form-data">
Nombre:<input type="text" name="nombre"/><br/><br/>
Apellidos:<input type="text" name="apellidos"/><br/><br/>
Dirección:<input type="text" name="direccion"/><br/><br/>
Correo electrónico:<input type="text" name="correo"/><br/><br/>
Teléfono:<input type="text" name="telefono"/><br/><br/>
Fotografía:<input type="file" name="file"/><br/><br/>
</form>
</div>
</div>
<br/><br/><br/>
<div id="footer">
Copyright 2006-2072 aprenderaprogramar.com
</div>
</div>
</body>
</html>
<!-- Teníamos que incluir un <input /> con type="file". También teníamos que incluir enctype="multipart/form-data" y cambiar el method de "get" a "post". -->
Respuesta a las preguntas:
Teníamos que incluir un <input /> con type="file". También teníamos que incluir enctype="multipart/form-data" y cambiar el method de "get" a "post".