January 15, 2005

Generating Nonsense Text

When you are learning CSS (or HTML for that matter), it helps to have some sample text to play with. There are a couple of ways to generate nonsense text.

If you have Microsoft Word, you can open a blank page and type this entry: =rand (x,y), where x is the number of paragraphs you want and y is the number of sentences per paragraph. The result is a series of "The quick brown fox..." sentences. This text can then be copied to your HTML document.

Another solution is at Lorem Ipsum - All the facts - Lipsum generator. This site has a generator for Lorem ipsum text that is already marked up as an HTML page. You can copy its source into your own source and have paragraphs already tagged. Plus the site gives you more information than you could ever ask for about Lorem ipsum.

But when doing a mock-up page for a real site, the better approach is to use sample text that is related to the subject of the site. The page will look more realistic, and the text will not be a distraction.

No comments: