Estilos dentro del texto

Formato del texto dentro de los comentarios de forma simple:
Simplemente se usan uno o dos asteriscos al inicio y final de las palabras

cursiva, como para nombres científicos -> * italic *

negrita, para énfasis -> ** bold **

Source: https://www.inaturalist.org/posts/46229-style-your-posts,
https://www.inaturalist.org/posts/38475-less-agreeable-observations-more-agreeable-text-formatting

HTML tags que permite iNaturalist

Ejemplos de tipos de encabezados o títulos (headers): h1, h2, h3, h4, h5, h6
Forma de uso: se inicia con "< h1 >" (sin espacios) y para que el formato no se extienda más, se termina con "< / h1 >" (sin espacios)

h1

Texto h1


h2

Texto h2


h3

Texto h3


h4

Texto h4


h5
Texto h5

h6
Texto h6

De una vez pruebo casos de los otros HTML tag que permite iNat


Las que me han resultado útiles son:
blockquote (permite citar textualmente un texto con más claridad),
ins: subraya, aunque no sé si ese es el uso original que se le da,
code: sirve para indicar algo como código, pero es una forma conveniente de resaltar texto, como en este caso.

a Texto a
abbr Texto abbr
acronym Texto acronym
audio
b Texto b
blockquote

Texto blockquote

br
Texto br
cite Texto cite
code Texto code
del Texto del
div
Texto div

dl
Texto dl

dt
Texto dt

em Texto em
embed Texto embed
hr
Texto hr
i Texto i
iframe
img Texto img
ins Texto ins
li
  • Texto li

  • object Texto object
    ol
      Texto ol

    p

    Texto p


    param Texto param
    pre
     Texto pre  

    s Texto s
    small Texto small
    source Texto source
    strike Texto strike
    strong Texto strong
    sub Texto sub
    sup Texto sup
    table

    Texto table

    td

    Texto td
    tfoot Texto tfoot
    th Texto th
    thead Texto thead
    tr Texto tr
    tt Texto tt
    ul
      Texto ul

    Fin de demostración




    HTML Tag para subrayar

    No logré hacer funcionar el html tag para subrayar, que se supone que es "< u > texto < / u >" (sin espacios internos);
    " < u > " is used to render enclosed text with an underline, source: https://medium.com/@gdsc.cu/all-about-html-and-css-tags-d0eccbdea568

    Pero como el subrayado se puede confundir con enlaces html, es mejor no usar subrayado, sino otro tipos de énfasis como:

    < em > to denote stress emphasis, ejemplo em
    < b > to draw attention to text, ejemplo b
    < mark > to mark key words or phrases, ejemplo mark
    < strong > to indicate that text has strong importance, ejemplo strong
    < cite > to mark the titles of books or other publications, ejemplo cite
    < i > to denote technical terms, transliterations, thoughts, or names of vessels in Western texts, ejemplo i

    Al menos a como se muestra en iNat, los anteriores solamente hacen cursiva algunos, negrita otros.

    To provide textual annotations (as opposed to the non-textual annotations created with < u >), use the < ruby > element. To apply an underlined appearance without any semantic meaning, use the text-decoration property's value "underline". Fuente: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u#usage_notes

    Julkaistu heinäkuu 16, 2024 07:35 AP. käyttäjältä mario_mg mario_mg

    Kommentit

    Ei vielä kommentteja.

    Lisää kommentti

    Kirjaudu sisään tai Rekisteröidy lisätäksesi kommentteja