Ver Mensaje Individual
  #4 (permalink)  
Antiguo 12/01/2005, 02:44
Avatar de PatomaS
PatomaS
Colaborador
 
Fecha de Ingreso: marzo-2004
Ubicación: En alguna otra parte
Mensajes: 4.656
Antigüedad: 20 años, 8 meses
Puntos: 63
Hola

Hildegarn, debes usar el object solamente, en este foro hay ejemplos de eso, de todas formas, te recomiendo que uses un nuevo mensaje para esa duda.

Aquí está el resultado de pasar el ejemplo que dejé sin el plus target 1.0:

Cita:
This page is not Valid XHTML 1.1!
Below are the results of attempting to parse this document with an SGML parser.
1.Line 9, column 26: there is no attribute "target"
<p><a href="2.htm" target="mi_marco">pulsar</a></p>
...

2.Line 10, column 14: there is no attribute "style"
<iframe style="border: 0px;" name="mi_marco" width="200" height="200" src="1.htm
...

3.Line 10, column 34: there is no attribute "name"
<iframe style="border: 0px;" name="mi_marco" width="200" height="200" src="1.htm
...

4.Line 10, column 51: there is no attribute "width"
..."border: 0px;" name="mi_marco" width="200" height="200" src="1.htm"></iframe>
...

5.Line 10, column 64: there is no attribute "height"
...le="border: 0px;" name="mi_marco" width="200" height="200" src="1.htm"></iframe>
...

6.Line 10, column 74: there is no attribute "src"
...me="mi_marco" width="200" height="200" src="1.htm"></iframe>
...

7.Line 10, column 81: element "iframe" undefined
... width="200" height="200" src="1.htm"></iframe>
...

Source Listing
Below is the source input I used for this validation:
1: <?xml version="1.0" encoding="iso-8859-1"?>
2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es">
4: <head>
5: <title>Prueba del uso de iframes en xhtml 1.1</title>
6: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7: </head>
8: <body>
9: <p><a href="2.htm" target="mi_marco">pulsar</a></p>
10: <iframe style="border: 0px;" name="mi_marco" width="200" height="200" src="1.htm"></iframe>
11: </body>
12: </html>
Aquí dejo el resultado de la validación usando el plus target 1.0

Cita:
This Page Is Valid -//W3C//DTD XHTML 1.1 plus Target 1.0//EN!

Tip Of The Day:
Use the alt attribute

The uploaded file was checked and found to be valid -//W3C//DTD XHTML 1.1 plus Target 1.0//EN. This means that the resource in question identified itself as "-//W3C//DTD XHTML 1.1 plus Target 1.0//EN" and that we successfully performed a formal validation using an SGML or XML Parser (depending on the markup language used).

Valid XHTML 1.1! To show your readers that you have taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the HTML you should use to add this icon to your Web page:

<p>
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml11"
alt="Valid XHTML 1.1!" height="31" width="88" /></a>
</p>


Thanks to this code, you will be able to re-validate your Web page by following the link (click on the image), and we encourage you to do so every time you modify your document.
Source Listing

Below is the source input I used for this validation:

1: <?xml version="1.0" encoding="iso-8859-1"?>
2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus Target 1.0//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es">
4: <head>
5: <title>Prueba del uso de iframes en xhtml 1.1</title>
6: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7: </head>
8: <body>
9: <p><a href="2.htm" target="mi_marco">pulsar</a></p>
10: <iframe style="border: 0px;" name="mi_marco" width="200" height="200" src="1.htm"></iframe>
11: </body>
12: </html>
Felicidad
__________________
¡ hey, hou, hou, hey !