Author: ecasbas Date: Fri May 9 13:59:19 2008 New Revision: 1463 Log: Translated some more of chapter 6.
Modified: trunk/es/ch06.xml Modified: trunk/es/ch06.xml ============================================================================== --- trunk/es/ch06.xml (original) +++ trunk/es/ch06.xml Fri May 9 13:59:19 2008 @@ -1311,36 +1311,36 @@ <xref linkend="technical-infrastructure"></xref></phrase>), un formato que sea fácil de editar.</para> <sidebar id="html-named-anchors-and-ids"> - <title>Named Anchors and ID Attributes</title> + <title>Named Anchors y atributos ID</title> - <para>There are two ways to get a browser to jump to a specific - location within a web page: named anchors and id attributes.</para> + <para>Hay dos maneras para que un navegador vaya a un sitio específico + dentro de una página web: named anchors y atributos id.</para> - <para>A <firstterm>named anchor</firstterm> is just a normal HTML - anchor element (<literal><a>...</a></literal>), but with - a "name" attribute:</para> + <para>Un <firstterm>named anchor</firstterm> es simplemente un elemento HTML + de ancla (<literal><a>...</a></literal>), pero con un atributo + "name":</para> <screen><a name="mylabel">...</a></screen> - <para>More recent versions of HTML support a generic <firstterm>id - attribute</firstterm>, which can be attached to any HTML element, - not just to <literal><a></literal>. For example:</para> + <para>Versiones más recientes de HTML soportan un <firstterm>atributo id </firstterm> + genérico, el cual puede adjuntarse a cualquier elemento HTML, + y no sólo a <literal><a></literal>. Por ejemplo:</para> <screen><p id="mylabel">...</p></screen> - <para>Both named anchors and id attributes are used in the same - way. One appends a hash mark and the label to a URL, to cause the - browser to jump straight to that spot in the page:</para> + <para>Ambos, named anchors y atributos id son usados de la misma manera. + Uno añade una marca hash y la etiqueta a una URL, y hacer así al navegador que + salte directo a dicho punto de la página: + </para> <screen>http://myproject.example.com/faq.html#mylabel</screen> - <para>Virtually all browsers support named anchors; most modern - browsers support the id attribute. To play it safe, I would - recommend using either named anchors alone, or named anchors - <emphasis>and</emphasis> id attributes together (with the same label - for both in a given pair, of course). Named anchors cannot be - self-closing—even if there's no text inside the element, you - must still write it in two-sided form:</para> + <para>Virtualmente todos los navegadores soportan los named anchors; los navegadores + más modernos soportan el atributo id. Para asegurarnos, recomendaría utilizar tanto + named anchors únicamente, o named anchors <emphasis>y</emphasis> atributos id attributes + juntos (con la misma etiqueta para ambos en un mismo par, por supuesto). Los named anchors + no pueden ser self-closing—incluso aunque no haya texto dentro del elemento, aún así + deberas escribirlo en la forma two-sided:</para> <screen><a name="mylabel"></a></screen> _______________________________________________ Producingoss-translators mailing list Producingoss-translators@red-bean.com http://www.red-bean.com/mailman/listinfo/producingoss-translators