Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

207
Vistas
select a text from textarea and press the button to make them bold

when someone has selected text and press the bold button the selected text will be bold and not all the textarea characters.

document.getElementById("bold").onclick = function() {
  document.getElementById("textarea").style.fontWeight = "800";
}
<textarea id="textarea"></textarea>
<button id="bold">Make bold</button>

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can't style text inside of a textarea more then in your example.

But you can try this attempt with editable div: https://stackoverflow.com/a/50287002/4230037

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda