Logo hdtoledo
hdtoledo.dev
Módulos_del_Sistema
MÓDULO_TEÓRICO

Web Anatomy and HTML5 Fundamentals

Web Anatomy

Welcome to the Web Construction Universe

Every great web application (from Netflix to a corporate control panel) starts in the exact same place: a plain text file interpreted by a web browser.

In this course, we will build Nexus Portal together—a complete suite featuring a Login / Register system and an Interactive Analytical Dashboard. But before painting with colors and animating with CSS, we need to lay down the foundations: HTML5.


1. How Does the Browser Read a Web Document?

When you open a web page, the browser (Chrome, Firefox, Safari) downloads the HTML file and parses it into a tree of nodes called the DOM (Document Object Model).

Think of HTML as the human skeleton: it defines where bones, skull, and joints go. Without a skeleton, the body has no shape.

html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Nexus Portal | Access & Dashboard</title> </head> <body> <!-- Everything visible to the user lives here --> </body> </html>

Breaking Down Key Pieces:

  • <!DOCTYPE html>: Tells the browser we are using modern HTML5.
  • <html lang="en">: Defines document language (vital for screen readers and search engines).
  • <meta charset="UTF-8">: Enables rendering accents, international characters, and emojis without bugs.
  • <meta name="viewport" content="width=device-width, initial-scale=1.0">: The Golden Rule of Responsive Design. It instructs mobile devices to render the page at 100% of real screen width.

2. Hierarchy and Text Content

A common beginner mistake is picking tags based on "how they look". In HTML5, we choose tags based on what they mean (Semantics):

html
<!-- Main Title: Only ONE per page --> <h1>Nexus Analytics Hub</h1> <!-- Hierarchical Subtitles --> <h2>Performance Metrics</h2> <h3>Real-Time Traffic</h3> <!-- Text Paragraphs --> <p>Monitor your server health and live transaction stream.</p> <!-- Hyperlinks --> <a href="#register" target="_blank" rel="noopener noreferrer">Create new account</a>

3. Structured Lists

Lists are the backbone of navigation menus and sidebars:

html
<!-- Unordered list for navigation --> <ul> <li><a href="#home">Home</a></li> <li><a href="#analytics">Analytics</a></li> <li><a href="#settings">Settings</a></li> </ul>

🛠️ Lesson Practice: Your First File

Create a folder named nexus-portal and save an index.html file inside with the basic structure learned. In the next lesson, we will build our first real UI: The Login and Registration Form.