Why do we use it

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‘lorem ipsum’ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

Just do a GET request on loripsum.net/api, to get some placeholder text. You can add extra parameters to specify the output you’re going to get. Say, you need 10 short paragraphs with headings, use loripsum.net/api/10/short/headers. All of the possible parameters are:

  • (integer) – The number of paragraphs to generate.
  • short, medium, long, verylong – The average length of a paragraph.
  • decorate – Add bold, italic and marked text.
  • link – Add links.
  • ul – Add unordered lists.
  • ol – Add numbered lists.
  • dl – Add description lists.
  • bq – Add blockquotes.
  • code – Add code samples.
  • headers – Add headers.
  • allcaps – Use ALL CAPS.
  • prude – Prude version.
  • plaintext – Return plain text, no HTML.
  • Atque his de rebus et splendida est eorum et illustris oratio. Non est igitur summum malum dolor. An eum locum libenter invisit, ubi Demosthenes et Aeschines inter se decertare soliti sunt? Nec vero pietas adversus deos nec quanta iis gratia debeatur sine explicatione naturae intellegi potest. Quis enim est, qui non videat haec esse in natura rerum tria? Inscite autem medicinae et gubernationis ultimum cum ultimo sapientiae comparatur. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Et quidem, inquit, vehementer errat; Quam nemo umquam voluptatem appellavit, appellat; Optime, inquam. Poterat autem inpune; Sed hoc sane concedamus.
    In publishing and graphic design, placeholder text is commonly used to demonstrate the elements of a document or visual presentation, such as font, typography, and layout. Even though using “lorem ipsum” often arouses curiosity because of its resemblance to classical Latin, it is not intended to have meaning. Where text is visible in a document, people tend to focus on the textual content rather than upon overall presentation, so publishers use lorem ipsum when displaying a typeface or design elements and page layout in order to direct the focus to the publication style and not the meaning of the text. Read more at Wikipedia/Lorem_ipsum.
Dharmik April 14, 2017