Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Web Quality Readability

Web Quality - Readability


Using fonts and colors correctly makes your site easier to read.


Watch color contrast

For people with poor eyesight or for poor display devices, white on black or black on white works best.

Gray text on a light background has very poor contrast:

Grey text on a white background (#EEEEEE)
Grey text on a white background (#CCCCCC)
Grey text on a white background (#AAAAAA)
Grey text on a white background (#888888)
Grey text on a white background (#666666)
Grey text on a white background (#444444)
Grey text on a white background (#222222)
Grey text on a white background (#111111)

Gray text on a dark background has equally poor contrast:

Grey text on a black background (#222222)
Grey text on a black background (#444444)
Grey text on a black background (#666666)
Grey text on a black background (#888888)
Grey text on a black background (#AAAAAA)
Grey text on a black background (#CCCCCC)
Grey text on a black background (#DDDDDD)
Grey text on a black background (#EEEEEE)

Some combinations - such as black and red, black and blue, yellow and green - cause visual fatigue:

Black text on a red background
 
Black text on a blue background
 
Yellow text on a green background

These combinations are not bad:

Black text on a grey background
 
Black text on a light blue
 
Black text on antique white
 
White text on dark blue

Watch letter spacing

For readers with weak eyesight, tight letter spacing makes reading considerably harder.

Text with moderate letter spacing is easier to read.

Text with too little letter spacing is hard to read.


Watch your line spacing

The following line spacing is easy to read

Text with good line spacing
Easier to read

The following line spacing is hard to read

Text with small line spacing
Hard to read


Avoid fancy fonts

This font is easy to read....

This font is hard to read....


Use italics sparingly

Normal type is easy to read.

Italic type is not so easy to read.