Te lo muestro: el contenido tiene sus propias etiquetas
HTML tiene una etiqueta dedicada para cada tipo de contenido. Estas son las que más usarás:
<h1>Main heading – only once per page</h1>
<h2>A chapter heading</h2>
<h3>A smaller heading inside a chapter</h3>
<p>An ordinary paragraph of text.</p>
<p>Another paragraph. Every paragraph gets its own <p> tag.</p>
<p>You can <strong>make words bold</strong> or <em>italic</em>.</p>
Los títulos van de <h1> (el más grande) a <h6> (el más pequeño). Funciona como un cuaderno: <h1> es el título en la portada, los <h2> son los capítulos, los <h3> son los subcapítulos.
Listas
<!-- A bulleted list (ul = unordered list) -->
<ul>
<li>first thing</li>
<li>second thing</li>
</ul>
<!-- A numbered list (ol = ordered list) -->
<ol>
<li>step one</li>
<li>step two</li>
</ol>
Cada elemento de la lista es un <li>, y todos van dentro de un <ul> (viñetas) o un <ol> (números).
Esa línea rara <!— text —> es un comentario – una nota solo para ti, el navegador lo ignora. Los programadores se dejan mensajes así en el código.
Ahora tú 💪
Llena tu página de inicio con contenido. Debe tener:
- Un
<h1>(ya lo tienes), - al menos dos capítulos con un título
<h2>y un párrafo de texto, - al menos una lista (
<ul>o<ol>), - algo en negrita con
<strong>.
Ideas y soluciones para tu proyecto:
🏫 Sitio web del colegio – ideas y solución
Los capítulos podrían ser: About Our School, What’s Happening, y una lista de clubes.
<h1>Riverside Elementary School</h1>
<p>Welcome to our school's website.</p>
<h2>About Our School</h2>
<p>Our school has stood in Riverside for <strong>120 years</strong>. We have
350 students, a big gym, and a brand-new computer lab.</p>
<h2>Clubs</h2>
<ul>
<li>floorball</li>
<li>ceramics</li>
<li>coding</li>
<li>choir</li>
</ul>
<h2>Coming Up</h2>
<ol>
<li>outdoor school (June)</li>
<li>sports day</li>
<li>winter fair</li>
</ol>
🙋 Sitio web personal – ideas y solución
Los capítulos podrían ser: What I Like, What I Can Do, una lista de juegos o libros favoritos.
<h1>Hi, I'm Jake</h1>
<p>I'm 10 years old and this is my website.</p>
<h2>What I Like</h2>
<p>More than anything, I love <strong>soccer</strong> – I play for the youth team.
At home I build worlds in Minecraft and I'm learning to code.</p>
<h2>My Top Games</h2>
<ol>
<li>Minecraft</li>
<li>Mario Kart</li>
<li>Rocket League</li>
</ol>
<h2>What I Can Do</h2>
<ul>
<li>juggle a soccer ball</li>
<li>make pancakes</li>
<li>build a website (right now!)</li>
</ul>
🌍 Diario de viajes – ideas y solución
Los capítulos podrían ser: Last Trip, Where We’re Headed, una lista de países que has visitado.
<h1>Where We've Been 🌍</h1>
<p>A journal of our trips and adventures.</p>
<h2>Last Trip: The Mountains</h2>
<p>Over the summer we hiked <strong>the whole ridge</strong>. Three days of
walking, one wrong turn, and a hundred wild berries.</p>
<h2>Countries I've Visited</h2>
<ul>
<li>United States</li>
<li>Canada</li>
<li>Mexico</li>
<li>Italy</li>
</ul>
<h2>Next Year's Plan</h2>
<ol>
<li>camping by the lake</li>
<li>mountains out west</li>
<li>the beach in Greece</li>
</ol>
⚽ Sitio web del club – ideas y solución
Los capítulos podrían ser: About the Club, Recent Results, una plantilla como lista.
<h1>Riverside Eagles FC</h1>
<p>The official website of our soccer club.</p>
<h2>About the Club</h2>
<p>We play in the district youth league. We train
<strong>Tuesdays and Thursdays at 5:00 PM</strong> on the field behind the school.</p>
<h2>Recent Results</h2>
<ol>
<li>Eagles – Hawks 3 : 1</li>
<li>Falcons – Eagles 2 : 2</li>
<li>Eagles – Wildcats 4 : 0</li>
</ol>
<h2>Roster</h2>
<ul>
<li>Jake – goalkeeper</li>
<li>Matt – defense</li>
<li>Owen – midfield</li>
<li>Tom – forward</li>
</ul>
Compruébalo tú: La página tiene un título grande, títulos de capítulo más pequeños, párrafos y al menos una lista con viñetas o números. Parece un sitio web de verdad (aunque todavía sin vestir).
Lo que te llevas de esta lección
- Los títulos
<h1>–<h6>organizan una página como los capítulos de un libro. - El texto va en párrafos
<p>; resáltalo con<strong>y<em>. - Listas:
<ul>para viñetas,<ol>para números, los elementos siempre en<li>.
© 2026 Ing. Martin Polak / AlgoRhino · Condiciones de uso del contenido