Temas de ayuda
Contacto
¿Tiene algo que comentar? ¿No encuentra la respuesta que busca en nuestras páginas de ayuda?
Atributos y etiquetas compatibles con tipografía mejorada
Contenido
- Atributos admitidos
- Etiquetas HTML admitidas
- Atributos no admitidos
- Soluciones alternativas para evitar errores de conversión frecuentes
- Atributos y etiquetas ignorados
La tipografía mejorada admite una amplia gama de atributos y etiquetas.
Atributos admitidos
Los siguientes atributos son compatibles actualmente con los valores indicados.
|
Atributo Etiqueta HTML |
Valores admitidos |
|
background-clip |
border-box, padding-box, content-box |
|
background-color |
Cualquier valor aplicable |
|
background-origin |
border-box, padding-box, content-box |
|
background-position |
Cualquier valor aplicable |
|
background-position-x |
px, pt, cm, mm, em, rem, ex, %, in |
|
background-position-y |
px, pt, cm, mm, em, rem, ex, %, in |
|
background-repeat |
Cualquier valor aplicable |
|
background-repeat-x |
Cualquier valor aplicable |
|
background-repeat-y |
Cualquier valor aplicable |
|
background-size |
contain, cover, initial, inherit, px, pt, cm, mm, em, ex, %, in |
|
background-sizex |
px, pt, cm, mm, em, ex, %, in, rem |
|
background-sizey |
px, pt, cm, mm, em, ex, %, in, rem |
|
border-bottom-color |
Cualquier valor aplicable |
|
border-bottom-leftradius |
pt, px, cm, %, ex, in, mm, em, rem |
|
border-bottom-rightradius |
in, px, ex, pt, %, em, cm, mm, rem |
|
border-bottom-style |
hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none |
|
border-bottom-width |
mm, in, ex, px, pt, em, cm, rem, initial |
|
border-collapse |
collapse, separate |
|
border-color |
Cualquier valor aplicable |
|
border-left-color |
Cualquier valor aplicable |
|
border-left-style |
hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none |
|
border-left-width |
mm, in, ex, px, pt, em, cm, rem, initial |
|
border-right-color |
Cualquier valor aplicable |
|
border-right-style |
hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none |
|
border-right-width |
mm, in, ex, px, pt, em, cm, rem, initial |
|
border-style |
hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none |
|
border-top-color |
Cualquier valor aplicable |
|
border-top-left-radius |
pt, px, ex, cm, mm, em, %, in |
|
border-top-right-radius |
%, cm, em, pt, ex, px, in, mm, none |
|
border-top-style |
hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none |
|
border-top-width |
mm, in, ex, px, pt, em, cm, rem, initial |
|
border-vertical-spacing |
mm, in, ex, em, cm, px, pt, % |
|
border-width |
mm, in, ex, px, pt, em, cm, rem, initial |
|
box-align |
right, left, center |
|
box-shadow |
Cualquier valor aplicable |
|
box-sizing |
border-box, padding-box, content-box |
|
break-after |
always, auto, avoid |
|
break-before |
always, auto, avoid |
|
break-inside |
always, auto, avoid |
|
caption-side |
top |
|
clear |
left, right, both, none |
|
color |
Cualquier valor aplicable |
|
column-rule-color |
Cualquier valor aplicable |
|
dir |
rtl, ltr |
|
display |
inline, block, flex, inline flex, table cell, inherit, listitem |
|
empty-cells |
hide |
|
float |
left, right, snap-block |
|
font-family |
Cualquier valor aplicable |
|
font-size |
mm, in, ex, em, rem, cm, px, pt, % |
|
font-style |
normal, italic, oblique |
|
font-variant |
normal, small-caps |
|
font-weight |
100, 200, 300, 400, 500, 600, 700, 800, 900, normal, bold, bolder, lighter |
|
height |
mm, in, ex, em, cm, px, pt, %, rem |
|
hyphens |
auto, manual |
|
letter-spacing |
normal, mm, in, ex, em, rem, cm, px, pt, initial |
|
line-height |
normal, mm, in, em, cm, px, pt, %, rem |
|
list-style-position |
outside, inside, initial |
|
list-style-type |
decimal, disc, circle, inherit, initial, lower-alpha, lower-latin, lower-roman, none, upper-alpha, upper-latin, upper-roman, square |
|
margin |
mm, in, em, cm, px, pt, %, rem, ex |
|
margin-after |
mm, in, em, cm, px, pt, %, rem |
|
margin-before |
mm, in, em, cm, px, pt, %, rem |
|
margin-bottom |
mm, in, em, cm, px, pt, %, rem, ex |
|
margin-left |
mm, in, em, cm, px, pt, %, rem, ex |
|
margin-right |
mm, in, em, cm, px, pt, %, rem, ex |
|
margin-top |
mm, in, em, cm, px, pt, %, rem, ex |
|
min-height |
mm, in, em, cm, px, pt, %, rem |
|
opacity |
Cualquier valor aplicable |
|
outline-color |
Cualquier valor aplicable |
|
outline-offset |
mm, in, ex, em, cm, px, pt, % |
|
outline-style |
solid, dotted, dashed, double, ridge, none |
|
outline-width |
mm, in, ex, em, cm, px, pt, % |
|
overflow |
hidden |
|
overflow-x |
hidden |
|
overflow-y |
hidden |
|
padding |
mm, in, em, cm, px, pt, %, rem, ex |
|
padding-bottom |
mm, in, em, cm, px, pt, %, rem, ex |
|
padding-left |
mm, in, em, cm, px, pt, %, rem, ex |
|
padding-right |
mm, in, em, cm, px, pt, %, rem, ex |
|
padding-top |
mm, in, em, cm, px, pt, %, rem, ex |
|
page-break-after |
left, right, always, auto, avoid |
|
page-break-before |
left, right, always, auto, avoid |
|
page-break-inside |
always, auto, avoid |
|
ruby-align |
start, center, space-around, space-between |
|
ruby-position |
over |
|
text-align |
left, right, center, justify |
|
text-combine-upright |
all |
|
text-decoration |
line-through, overline, underline |
|
text-fill-color |
Cualquier valor aplicable |
|
text-indent |
mm, in, ex, em, cm, px, pt, %, rem |
|
text-shadow |
Cualquier valor aplicable |
|
text-stroke-color |
Cualquier valor aplicable |
|
text-transform |
lowercase, uppercase, capitalize, none |
|
transform |
Cualquier valor aplicable |
|
unicode-bidi |
bidi-override, normal, embed, initial, isolate, isolateoverride & plaintext |
|
vertical-align |
sub, super, top, text-top, middle, bottom, text-bottom, baseline, mm, in, ex, px, pt, em, cm, % , rem , center |
|
visibility |
visible, hidden, initial |
|
-webkit-text-emphasis-style |
Cualquier valor aplicable |
|
-webkit-text-emphasis-color |
Cualquier valor aplicable |
|
-webkit-text-emphasis-position |
over, under |
|
-webkit-text-orientation |
mixed, upright, sideways, sideways-right |
|
white-space |
nowrap, normal |
|
width |
auto, mm, in, ex, em, cm, px, pt, %, rem |
|
word-break |
normal, keep-all, break-all |
|
word-spacing |
normal, mm, in, ex, em, rem, cm, px, pt, initial |
|
writing-mode |
horizontal-tb, vertical-rl |
Etiquetas HTML admitidas
Cualquier etiqueta con el texto "cualquier atributo aplicable" o "cualquier valor aplicable" admite los valores y los atributos que se definen en esta página, en la sección Atributos compatibles.
|
Etiqueta HTML |
Atributo HTML |
Valores admitidos |
|
a |
epub:type, data-app-amznmagnify, href |
noteref |
|
address |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
aside |
epub:type |
footnote |
|
b |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
background-size |
Cualquier valor aplicable |
Cualquier valor aplicable |
|
bdi |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
bdo |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
blockquote |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
body |
bgcolor |
Cualquier valor aplicable |
|
body |
text |
Cualquier valor aplicable |
|
caption |
align |
center, justify |
|
center |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
cite |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
code |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
col |
span |
Cualquier valor aplicable |
|
col |
width |
%, px |
|
dd |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
del |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
div |
align |
center, left, right, justify |
|
div |
epub:type |
footnote |
|
dl |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
em |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
figure |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
h1 |
align |
center, left, right, justify |
|
h2 |
align |
center, left, right, justify |
|
h3 |
align |
center, left, right, justify |
|
h4 |
align |
center, left, right, justify |
|
h5 |
align |
center, left, right, justify |
|
h6 |
align |
center, left, right, justify |
|
hr |
align |
center, left, right |
|
hr |
noshade |
Cualquier valor aplicable |
|
hr |
size |
px |
|
hr |
width |
px, % |
|
i |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
image |
height |
%, px, em, pt |
|
image |
width |
%, px, em, pt |
|
img |
align |
center, middle, top, bottom, absbottom, absmiddle |
|
img |
alt |
Cualquier valor aplicable |
|
img |
border |
px, pt, cm, mm, em, rem, ex, in, % |
|
img |
height |
%, px, em, pt |
|
img |
hspace |
px |
|
img |
vspace |
px |
|
img |
width |
%, px, em, pt |
|
li |
type |
a, i, disc, square, circle, none, A, I |
|
li |
value |
Cualquier valor aplicable |
|
listing |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
mark |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
ol |
start |
Cualquier valor aplicable |
|
ol |
type |
a, i, none, A, I |
|
p |
align |
center, left, right, justify |
|
p |
epub:type |
footnote |
|
plaintext |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
pre |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
rb |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
rt |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
ruby |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
s |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
samp |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
strike |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
strong |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
table |
align |
center, left, right |
|
table |
bgcolor |
Cualquier valor aplicable |
|
table |
width |
%, px |
|
tbody |
align |
center, left, right, justify |
|
td |
align |
center, left, right, justify |
|
td |
bgcolor |
Cualquier valor aplicable |
|
td |
colspan |
Cualquier valor aplicable |
|
td |
height |
%, px |
|
td |
rowspan |
Cualquier valor aplicable |
|
td |
vertical-align |
center, middle, top, bottom |
|
td |
width |
%, px |
|
tfoot |
align |
center, left, right, justify |
|
th |
align |
center, left, right, justify |
|
th |
bgcolor |
Cualquier valor aplicable |
|
th |
colspan |
Cualquier valor aplicable |
|
th |
height |
%, px |
|
th |
rowspan |
Cualquier valor aplicable |
|
th |
vertical-align |
center, middle, top, bottom |
|
th |
Width |
%, px |
|
thead |
Align |
center, left, right, justify |
|
thead |
Bgcolor |
Cualquier valor aplicable |
|
tr |
Align |
center, left, right, justify |
|
tr |
Bgcolor |
Cualquier valor aplicable |
|
tt |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
ul |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
var |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
xmp |
Cualquier atributo aplicable |
Cualquier valor aplicable |
|
webkit-background-size |
Cualquier valor aplicable |
Cualquier valor aplicable |
| Código de error (en Kindle Previewer) | Ubicación del error | Solución alternativa | Antes de la corrección de HTML | Tras la corrección de HTML |
|---|---|---|---|---|
| E24010: El hipervínculo no se ha resuelto en el índice (una posible razón puede ser que el enlace apunte a una etiqueta con el estilo display:none) | TOC.xhtml |
|
<body id="id1"> <section class="class1"> <header id="id3"> <h1 id="id2">¿Qué es el arte? </h1> </header> </section> </body> |
<body> <section class="class1" id="id1"> <header id="id3"> <h1 id="id2">¿Qué es el arte? </h1> </header> </section> </body> |
| E24010: El hipervínculo no se ha resuelto en el índice (una posible razón puede ser que el enlace apunte a una etiqueta con el estilo display:none) | TOC.xhtml |
|
Toc.xhtml: <a href="acknowledgments.xhtml#sample" amzn-src-id="5529">Agradecimientos</a> HTML de origen: <p id="sample" style="display:none" class="first first-in-chapter first-full-width" amzn-src-id="5308">Diferentes personas ayudaron a que este libro sea una realidad.</p> <div class="alignment-block alignment-block-align-center" amzn-src-id="5309"> |
Toc.xhtml: <a href="acknowledgments.xhtml#sample" amzn-src-id="5529">Agradecimientos</a> HTML de origen: <p style="display:none" class="first first-in-chapter first-full-width" amzn-src-id="5308">Diferentes personas ayudaron a que este libro sea una realidad.</p> <div id="sample" class="alignment-block alignment-block-align-center" amzn-src-id="5309"> |
| E24011: El alcance de la sección Índice no está incluido en el capítulo principal | Archivo NCX |
|
<ol> <li><a href="chapter01.xhtml#ch01">CAPÍTULO 1</a> <ol> <li><a href="chapter01.xhtml#ch01lev1_sec1">¿Por qué es importante hacer preguntas?</a></li> <ol> <li><a href="chapter02.xhtml#ch02lev1_sec1">¿Qué es la lectura crítica?</a></li> </ol> </ol> </li> </ol> |
<ol> <li><a href="chapter01.xhtml#ch01">CAPITULO 1</a></li> <li><a href="chapter01.xhtml#ch01lev1_sec1">¿Por qué es importante hacer preguntas?</a></li> <li><a href="chapter02.xhtml#ch02lev1_sec1">¿Qué es la lectura crítica?</a></li> </ol> |
| E3013: Al usar display:none, se oculta más caracteres de los permitidos. Límite: 10 000 | Archivos CSS |
|
.problems .mhhe--answer_reveal--container { margin-left:3em; display: none; } |
.problems .mhhe--answer_reveal--container { margin-left:3em; visibility: hidden; } |
| E20006: Hay más de un título definido en los metadatos del OPF. | Archivo OPF |
|
<dc:title>The Results Fieldbook</dc:title> <dc:title id="Subtitle">Practical Strategies from Dramatically Improved Schools</dc:title> |
<dc:title id="t1">The Results Fieldbook</dc:title> <meta refines="#t1" property="title-type">main</meta> <dc:title id="Subtitle">Practical Strategies from Dramatically Improved Schools</dc:title> |
| E21027: El archivo EPUB tiene más de un archivo OPF | Archivo OPF |
|
Sintaxis: <?xml version='1.0' encoding='UTF-8'?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="pub-id" version="3.0"> <metadata> ... </metadata> <manifest> ... </manifest> <spine> ... </spine> <guide> .... </guide> </package> |
|
| La portada no está incluida en el libro | Archivo OPF |
|
Contenido de los metadatos: <meta name="Cover" content="cover-image"/> <item href="images/ath-saikiahaines-cover.jpeg" id="My_Cover" media-type="image/jpeg" properties="cover-image"/> |
Contenido de los metadatos: <meta name="Cover" content="cover-image"/> <item href="images/ath-saikiahaines-cover.jpeg" id="cover-image" media-type="image/jpeg"/> |
Atributos no admitidos
Los siguientes atributos no son compatibles actualmente con los valores indicados.
|
Atributo Etiqueta HTML |
Valores no admitidos |
Valor u opción alternativa |
|
background-image |
linear gradient |
Utilice una media query para especificar una sustitución, como la propiedad background-color. Vuelva a cargar el archivo corregido para su publicación o inténtelo de nuevo en Kindle Previewer. |
|
Imágenes codificadas en Base64 |
No se aplica |
Utilice una herramienta en línea para descodificar la imagen Base64 y proporcionarla como un archivo de imagen binaria normal. |
|
body, dentro del archivo HTML del índice |
display: none, hidden |
Elimine los valores display: none u hidden del archivo HTML del índice. |
|
caption-side |
bottom |
El contenido con estilo <caption-side: bottom> se colocará en la parte superior de la tabla como <caption-side:top>. |
|
float, dentro de una tabla |
left, right |
Utilice una media query para especificar una sustitución para Kindle con el selector CSS::first-letter. |
|
SVG |
prefijo de espacio de nombres |
Elimine el prefijo de espacio de nombres SVG de los elementos SVG del archivo. |
|
video |
Cualquier valor aplicable |
Visite Creación de ediciones Kindle con contenido de audio y vídeo para ver las opciones de compatibilidad con vídeo en Kindle. |
|
visibility |
collapse |
Si utiliza esta etiqueta dentro de una tabla, utilice display: none para lograr una lectura parecida. Cuando utilice esta etiqueta fuera de una tabla, use visibility:hidden. |
Atributos y etiquetas ignorados
Atributos ignorados
Los siguientes atributos se ignoran actualmente cuando se aplican a cualquier etiqueta HTML.
| animation |
| animation-delay |
| animation-direction |
| animation-duration |
| animation-fill-mode |
| animation-iteration-count |
| animation-name |
| animation-play-state |
| animation-timing-function |
| attributes |
| background_color |
| background-attachment |
| box_shadow |
| class |
| column-break-before |
| column-count |
| column-gap |
| column-width |
| cursor |
| data-ichitaro-para-stylename |
| data-mappingid |
| datetime |
| div_align |
| dropcap |
| dropcap_chars |
| dropcap_lines |
| fill |
| font-smoothing |
| handlersprocessed |
| hanging-punctuation |
| hanging-punctuation |
| hyphenate-character |
| hyphenate-limit-after |
| hyphenate-limit-before |
| initial |
| line-box-contain |
| line-break |
| min-height |
| min-width |
| nbsp-mode |
| none |
| onclick |
| onload |
| onreset |
| onsubmit |
| ordinal |
| padding_bottom |
| padding_top |
| page |
| pointer-events |
| quotes |
| speak |
| src |
| stroke |
| stroke-linecap |
| stroke-linejoin |
| stroke-miterlimit |
| stroke-width |
| svg;height |
| svg;width |
| tabindex |
| table-layout |
| text_indent |
| text_overflow |
| text-combine |
| text-decorations-in-effect |
| text-overflow; |
| text-rendering |
| text-size-adjust |
| title |
| transition-delay |
| transition-duration |
| transition-property |
| transition-timing-function |
| user-select |
| webkit_appearance |
| webkit_border_image |
| webkit_box_direction |
| webkit_column_rule_color |
| webkit_column_rule_style |
| webkit_column_rule_width |
| webkit_shape_outside |
| webkit-appearance |
| -webkit-border-image |
| webkit-box-direction |
| webkit-box-pack |
| -webkit-box-shadow |
| webkit-column-break-after |
| -webkit-column-break-inside |
| webkit-column-rule-color |
| webkit-column-rule-style |
| webkit-column-rule-width |
| webkit-logical-width |
| -webkit-margin-end |
| webkit-margin-start |
| -webkit-padding-start |
| webkit-shape-outside |
| webkit-shape-outside |
| word-break |
| word-wrap |
| zoom |
Atributos ignorados para determinadas etiquetas HTML
|
Etiqueta HTML |
Atributo de estilo |
|
a |
rel, rev, shape, name, target, type |
|
applet |
hspace, height, name, width, vspace, align, alt |
|
|
|
|
body |
bottommargin, link, rightmargin, vlink |
|
button |
value, name, type |
|
caption-side |
bottom |
|
display; |
table-column-group;table-column;table-caption |
|
div |
node-type, type |
|
frame |
name |
|
frameset; |
rows |
|
html |
xmlns, encoding, version |
|
iframe |
name, align, width, height |
|
image |
xlink:href |
|
img |
hspace |
|
input |
align |
|
link |
type, media, rel, href |
|
meta |
name, http-equiv |
|
object |
name, width, hspace, align, type, border, vspace, height |
|
param |
value, type, name |
|
script |
type, for |
|
style |
type, media |
|
text-decoration |
line-through, overline, underline, Underline solid, underline dotted, underline dashed, underline double, overline solid, overline dotted, overline dashed, overline double, line-through solid, line-through dotted, line-through dashed, line-through double, underline line-through, line-through underline, underline overline, line-through overline, overline line-through, overline underline, overline line-through underline, overline underline line-through, underline overline line-through, underline line-through overline, line-through overline underline, line-through underline overline, none |
Etiquetas HTML ignoradas
Las siguientes etiquetas se ignoran actualmente independientemente de los atributos, las unidades o los valores aplicados.
| area | big | ins |
| kbd | map | max-height |
| max-width | mbp:nu | reference |
| small | time |