Available Languages
The validator supports two languages:Spanish (ES)
Default language with complete Spanish translations for all interface elements, messages, and documentation.
English (EN)
Full English translations matching the Spanish interface with culturally appropriate examples.
Switching Languages
Locate the language selector
The language toggle buttons appear in the top-right corner of the page:The active language is highlighted.
Click your preferred language
Click ES for Spanish or EN for English. The interface updates immediately.
What Gets Translated
When you switch languages, the following elements update automatically:Interface Elements
- Spanish
- English
- Título: HTML Tag Validator
- Subtítulo: Verifica si una etiqueta HTML puede contener a otra según los estándares W3C
- Etiqueta Padre: Input label for parent tag
- Etiqueta Hija: Input label for child tag
- Validar: Submit button text
- Ver reglas de anidamiento: Button to open rules guide
Validation Results
Result titles and statuses adapt to your language:| English | Spanish |
|---|---|
| Allowed | Permitido |
| Not allowed | No permitido |
| Allowed with warning | Permitido con advertencia |
Validation Messages
All validation messages are fully translated with context-appropriate explanations:Spanish Example
Spanish Example
English Example
English Example
Code Examples
Even code comments are translated:Nesting Rules Guide Translation
The comprehensive nesting rules modal is fully translated, including:Section Headings
- Element categories
- Specific nesting rules by element
- Best practices for valid HTML
- Common patterns to avoid
- Validation tools
Category Descriptions
- Block Elements
- Inline Elements
- Void Elements
Spanish: Los elementos de bloque establecen la estructura del documento.English: Block elements establish the document structure.
Element-Specific Rules
Each element’s rules include translated descriptions:Paragraph (<p>) Example
Paragraph (<p>) Example
- Spanish
- English
- Pueden contener: Solo contenido en línea (texto y elementos en línea)
- No pueden contener: Elementos de bloque
Accessibility Features
Language switching includes proper accessibility support:ARIA Attributes
aria-pressed="true"indicates the active language- Language buttons update screen reader announcements
langattribute on<html>updates to match selection
HTML Lang Attribute
When you switch languages:- Screen readers use the correct pronunciation
- Browser translation features work properly
- Search engines index the correct language
Default Language Behavior
The validator determines your initial language using this priority:Language Persistence
Your language choice is maintained throughout your session:- URL updates: Every validation updates the URL with your current language
- Page navigation: Bookmarked URLs preserve the language setting
- Shared links: When you share a validation link, the language is included
Language preference is stored in the URL, not in cookies or localStorage, ensuring privacy and making links fully shareable.