Don’t use E.G., EG, e.g. or eg when writing web copy. It may seem counter intuitive, but this abbreviation, along with I.E., actually breaks the eye’s flow over the words. E.G. can also be read as ‘egg’ by screen readers.

Instead, always use for example, followed by a comma. For example, like that.

Also see I.E.