HTML - Doctype

 
Vista:
sin imagen de perfil
Val: 4
Ha disminuido su posición en 27 puestos en HTML (en relación al último mes)
Gráfica de HTML

Doctype

Publicado por Xo (7 intervenciones) el 13/08/2013 18:15:23
Utilizo la siguiente linea de Doctype en HTML:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
        <title>SIFAMEP CALENDAR</title>
 
        <!-- link calendar resources -->
        <link rel="stylesheet" type="text/css" href="tcal.css" />
        <script type="text/javascript" src="tcal.js"></script>
</head>
<body>
        <form action="#">
                <!-- add class="tcal" to your input field -->
                <div><input type="text" name="fecha_sale" class="tcal" value="" /></div>
        </form>
</body>
</html>


Introduzco la misma linea en un CGI script de Perl:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/perl
# save_event_sifamep.cgi
use CGI qw(:standard :netscape :shortcuts);
use CGI::Carp qw(fatalsToBrowser);
print header;
print start_html(-title=>'HOLA XOC');
print<<"HTML";
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
        <title>SIFAMEP CALENDAR</title>
 
        <!-- link calendar resources -->
        <link rel="stylesheet" type="text/css" href="tcal.css" />
        <script type="text/javascript" src="tcal.js"></script>
</head>
<body>
        <form action="#">
                <!-- add class="tcal" to your input field -->
                <div><input type="text" name="fecha_sale" class="tcal" value="" /></div>
        </form>
</body>
</html>

HTML

Me pueden apoyar por favor identificado cual es mi falla porque el CGI no muestra el calendario.
Gracias.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
sin imagen de perfil

Doctype

Publicado por Mauro (4 intervenciones) el 28/10/2013 00:23:39
No entiendo muy bien el punto..... quieres que aparezca un calendario u otra cosa
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar