As per UX studies, which say you should not justify text on the web.
In that case, then why do newspapers justify text? Dyslexic users read newspapers and magazines as well.
What is the difference between text on the web, and newspapers?
The newspapers use justified text as they have multiple columns side-by-side so the justification works as a line separator.
The majority of web content (text) is not placed inside small columns we just have the standard long lines and people are very well used to it. On the other hand; newspapers cannot use long lines because it will be difficult for people to keep track of the line they have to read next - which will create discomfort. That's why many/all newspapers / magazines use the small columned layout for text so everything remains in the view and the user doesn't lose the track.
Typography is a broad subject which needs to learned.
There are valid reasons why you will use justified text in print media:
To ensure there is no right raged text
To create a sense of symmetry, especially if there are many columns on the page
To those people who say you cannot use justified text on the web, I say you need to learn more about typography. There is absolutely no reason why you cannot use justified text on the web, but you do need to understand where it works best and where it does not.
You can read more about justified text here:
If the text is for the web – or any medium that does not allow for complete control over size, line breaks, and hyphenation – it is best to avoid justification entirely.
Keep in mind that the justification engine of a word processor or web browser is rudimentary compared to that of a professional page-layout program. So if I’m making a word-processor document or web page, I’ll always left-align the text, because justification can look clunky and coarse. Whereas if I’m using a professional layout program, I might justify.
Doing justified text well is not that easy if you don't want to end up with large, ugly word spacing and harm readability. At the very least you need hyphenation.
For web browsers to automatically hyphenate well would probably require prohibitively large dictionaries, and one for every language. Even if they could, they would probably end up hyphenating where incorrect sometimes, or at least inappropriate. Web authors are not able to know where hyphenation will occur, due to varying screen sizes, fonts and so on, and wouldn't care to spend time to make sure it's right anyway.
In print, a hyphenation and justification algorithm is used to distribute the text optimally[*]. It should take multiple lines into account simultaneously to keep word spaces uniform and the number of hyphenations low. Letter-spacing and scaling may also be used to get a better result. Doing those things on the web would presumably slow down page rendering a lot. If text needs to reflow, it would jump around uncomfortably as well as being slow.
If it weren't for these issues, I believe justified text would be slightly preferable on the web in many cases, just as in print, although it doesn't really matter much anyway.
[*] Here's an interesting comparison of different H&J algorithms. The Complete Manual of Typography by James Felici has a lot more on the subject.
Thats a very good question. Once I had a similar question.
There is no hyphen appears when it viewed in different screens. Now technology is moving towards responsive. If there will no hyphen (-) at the end of the half word, it will be very difficult to read.
CSS does have a hyphens property but it is not supported in all browsers.
There is no comparison with newspaper and web. As newspaper is print data.
Some of the websites you can see they successfully using justify for type alignment. But the website is not responsive so they do not having any issue.
This is done, to my knowledge for 3 primary reasons.
First, historic, or "because it's always been that way". When print media first started out, the typesetter would arrange the type (letters) on a slide. You can see a really good example here. As you can see the slide has a clamp that needs to have both sides aligned. As this style of printing (used for books mostly) was adapted to faster printing (think journals, and periodicals) common words replaced letters, and spacers were used to keep everything flush. Thus you have, the first justified text. As different methods for printing were developed, this "style" was emulated, both because it made sense and because it's what readers expected.
Another reason is because it was cheaper to print one large page then several small pages. Most of the cost was the plate. We still use a style similar to this today. This page has a good picture. The plates were difficult and expensive to make. Usually, a typesetter would adjust the letters or words, much like the initial press, then stamp that into a soft metal plate. That metal plate would be what would make thousands of copies. Because it was difficult to make those plates, you would want to make as few of them as possible. What you ended up with was a very wide page of text. This was broken down into columns so that a reader didn't loose their spot on the page. Justifying text in those columns was a good way to keep the pressure on the metal plate distributed in such a way that they wouldn't warp, and that the ink would not concentrate too much in one spot.
Finally, today, the tradition of justifying text is kept for much the same reason. There is a lot of "it's the way it's always been", but there is a little bit of "it's easier to print it that way". Here is a modern printing press. We can certainly overcome the limitations of past presses, but there is still the issue of ink "concentrating" in one location. Again, we can technically overcome it, but why bother.
Bonus points, In the printing world (for news papers at least) a huge important metric is "words per inch". It's how they negotiate pricing, advertising, ink consumption and other cost factors. For example if you have ever taken out a classified add, you probably had to pay by the letter, and there was probably an up charge for larger letters. In all things business it's better to go for a standardized cost of an average cost. Full justification allows for a better estimate of words per inch then other alignment types, even though other types would allow more words per inch in theory.
On the web side
Justified text is usually harder to read, in print it doesn't matter because there are other concerns, but on screen media those concerns go away.
Also there is no "typesetter" for the browser. Every person has, potentially, a different screen size. Full justification is much more difficult when you don't know how wide the readers "page" is.
On websites there are other concerns like "above the fold" (A horrid concept left over from print media), interactive calls to action, and navigation, to name a few. But it's important to note that when content for the internet was first starting to come around, a lot of it emulated paper, newspaper, or magazines. It's how that entire (content publishing) industry was setup.
We have learned over time, to focus on different issues for screen based media, and the issues (mostly words per inch) that may still effect page layout today are superseded by other needs (for example "above the fold")
Kerning (letter spacing) becomes more cumbersome with CSS and makes it difficult to read on screens. Jason Santa Maria explains in more detail in On Web Typography - also his book from A Book Apart. He covers saccades and fixations in how we read (chapter 1) which leads to contexts when full text justification is used, and why avoid it for body text on screens.
On the web, columns are wider, and so you are more likely to get "rivers of white" in justified text, which stand out from the text and make it hard to read, especially for people with dyslexia (for whom the "don't justify text on the web" guideline was introduced).
The "rivers of white" effect is less likely to happen in a smaller column, as the words will be less stretched out in order to justify them.
To some extent this may be what another answer was getting at, but historical reasons are important.
Justifying text takes processing every time the text is rendered. For paper output, you justify once for all readers.
Justifying text for reading on screen would need to be done client-side, unless the server knew the internal window size and could guarantee the exact fonts, in which case the server would have to do it on the fly -- per client.
It's not so very long ago that all text on screen used fixed-width fonts which don't justify well. As web design habits matured, there was no pressing need for justification, and it would require client-side code running to implement it.
Now I'm sure it could be done in client side scripting even if there's no built in browser support -- but getting it right takes effort for limited return at least for the first to go that way. In the old days, this would have significantly showed page rendering.
In the browser
In old browsers, justified text looked horrible.
Those browsers could't do a good work when justifying text.
Obviously it has to be done each and every time the page was rendered, in different browsers and OSes that use slightly different algorithm.
The result was potentially horrid. I've seen lines with two words, one at each end ob the line, and a huge whitespace span in between.
It was also usual to see bigger-than-normal whitespace spans inserted in the lines, which was distracting (breaking flow). In many lines of a text piece.
Let alone the case when the user enlarges the text but the column doesn't grow: be set for a number of annoying special effects!
Thus, we avoided justified text.
Another annoyance is that justified text is boring.
I mean, we all know that writing for the web involves making the text visually scannable, by inserting bullets, headings, small geographic accidents that would allow the reader to figure herself where her reading position is.
Now imagine a long text block (not recommended for the web), and imagine it with justified text: double boring, a text "brick" few people would dare swallowing.
In print (not only newspapers)
Text is rendered once, for a specific and well known set of dimensions (of the column, the glyphs, the spacing, ...) and ultimately curated by a human person.
This is true that not justified text is more readbale in comparison to justified text but Print media use it to save the space as the more text fit into the justification and save space. On the other hand online don't have limitation in regard of space due to which non justified text is used to give rich user experience
Cons Justifying text on the web makes a gap in blocks of text that interrupt reading.