aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/html/elemento/title/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/es/web/html/elemento/title/index.html')
-rw-r--r--files/es/web/html/elemento/title/index.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/files/es/web/html/elemento/title/index.html b/files/es/web/html/elemento/title/index.html
new file mode 100644
index 0000000000..978149f8a6
--- /dev/null
+++ b/files/es/web/html/elemento/title/index.html
@@ -0,0 +1,54 @@
+---
+title: title
+slug: Web/HTML/Elemento/title
+tags:
+ - HTML
+ - 'HTML:Elemento'
+ - Todas_las_Categorías
+translation_of: Web/HTML/Element/title
+---
+<p> </p>
+
+<h3 id="Definici.C3.B3n" name="Definici.C3.B3n">Definición</h3>
+
+<p>Indica el título del documento.</p>
+
+<dl>
+ <dd><strong>Sus etiquetas son</strong>: &lt;title&gt; y &lt;/title&gt; (ambas obligatorias)</dd>
+</dl>
+
+<dl>
+ <dd><strong>Crea una caja</strong>:</dd>
+</dl>
+
+<dl>
+ <dd><strong>Está definido como</strong>: <a href="es/HTML/Elemento/Tipos_de_elementos#contenido_de_cabecera">Elemento de contenido de cabecera</a>.</dd>
+</dl>
+
+<dl>
+ <dd><strong>Puede contener</strong>: texto y entidades de caracteres, pero no puede contener código.</dd>
+</dl>
+
+<h5 id="Atributos_Gen.C3.A9ricos" name="Atributos_Gen.C3.A9ricos">Atributos Genéricos</h5>
+
+<dl>
+ <dd><strong>Idioma</strong>: lang (información sobre el idioma), dir (dirección del texto)</dd>
+</dl>
+
+<h5 id="Atributos_Espec.C3.ADficos_-_No_tiene." name="Atributos_Espec.C3.ADficos_-_No_tiene.">Atributos Específicos - No tiene.</h5>
+
+<h5 id="Atributos_Transicionales_-_No_tiene." name="Atributos_Transicionales_-_No_tiene.">Atributos Transicionales - No tiene.</h5>
+
+<h3 id="Ejemplos" name="Ejemplos">Ejemplos</h3>
+
+<pre>&lt;head&gt;
+&lt;title&gt;Ejemplo de uso del elemento title&lt;/title&gt;
+... otros elementos de cabecera...
+&lt;/head&gt;
+</pre>
+
+<h3 id="Comentarios" name="Comentarios">Comentarios</h3>
+
+<p>Todos los documentos deben tener un título, por lo tanto este elemento <strong>es obligarorio</strong> y debe estar ubicado dentro del elemento head.</p>
+
+<p>El contenido de title suele ser mostrado en la barra de título de la ventana del navegador </p>