-
Notifications
You must be signed in to change notification settings - Fork 8k
/
index.md
56 lines (44 loc) · 1.72 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: <input type="datetime">
slug: Web/HTML/Element/input/datetime-local
---
{{HTMLSidebar}}
_El HTML_ `<input type="datetime">` es un control para ingresar tiempo y fecha (hora, minuto, segundo y fracción de segundo) basado en la zona horaria UTC .
- [Categorías de contenido](/es/docs/Web/Guide/HTML/categorias_de_contenido) : Contenido dinámico , listed , submittable , resettable , contenido asociado a un formulario , contenido estático o de texto . Si `type` no tiene el valor `hidden`, elemenento labelable , contenido palpable .
<table class="properties">
<tbody>
<tr>
<th scope="row">Contenido permitido</th>
<td>Ninguno , es un elemento vacío.</td>
</tr>
<tr>
<th scope="row">Omisión de etiquetas</th>
<td>
Debe de tener una etiqueta de inicio y no debe de tener una etiqueta
final .
</td>
</tr>
<tr>
<th scope="row">Elementos padres permitidos</th>
<td>Cualquier elemento que acepte contenido estático o de texto .</td>
</tr>
<tr>
<th scope="row">Interfaz DOM</th>
<td>
<a
href="/es/docs/Web/API/HTMLInputElement"
title="The HTMLInputElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of input elements."
><code>HTMLInputElement</code></a
>
</td>
</tr>
</tbody>
</table>
## Atributos
El siguiente elemento tiene los siguientes[atributos globales](/es/docs/Web/HTML/Atributos_Globales) .
## Ejemplos
`input type="datetime" name="new_year"`
## Especificaciones
{{Specifications}}
## Ver también
- El elemento {{HTMLElement("input")}}