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

368
Vistas
How to make lines in og:description in html

I have a description in my website and I want to make new lines in it. Can I do this? If then please help me

My code

<meta property="og:description" content="This is 1st line. This should be 2nd. And this should be 3rd line"/>

I want the content result to be like

This is 1st line.
This should be 2nd.
And this should be 3rd line

Please help me

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

0

character entities work in attributes, so this might work:"&#10";

like that:

<meta property="og:description" content="&#10;This is 1st line.&#10;This should be 2nd.&#10; And this should be 3rd line"/>
<meta property="og:description" content="
This is 1st line.
This should be 2nd.
And this should be 3rd line">
about 4 years ago · Juan Pablo Isaza Denunciar

0

I didn't actually try it, but why not just add "\n".

<meta property="og:description" content="This is 1st line.\n This should be 2nd.\n And this should be 3rd line"/>

using line breaks in meta tags

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