Lorem JS is a easy to use Javascript library which helps include Lorem Ipsum text. All of this done just by using just the Class Names.
Always Use the class name lo or lorem wherever you need lorem.js to output a paragraph for you. You can use any one of them. After the initial class you have to add amongst the choices:
These classes work on the following html tags only:
If the class is being used on any other tags, it will result in a console.error message displayed in your developer console and lorem.js will not work on that tag.
1. To get a small paragraph do as follows. This will output a single paragaph with 20 words
or
2. To get a paragraph with custom number of words do as follows. The following will output '123' worded paragraph.
3. To get Multiple paragraphs with multiple words do as follows. The following will output 10 paragraphs with 40 words each.