We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Image replacement is a technique for replacing a text HTML element with an image.
A canonical example is using an image for a website's title. Instead of doing the following:
<h1><img src="logo.jpg" alt="Website Name"></h1>
The bare text element can be used:
<h1>Website Name</h1>
And the text can be replaced with the image using the Phark method of image replacement:
h1 { background: url(logo.jpg); height: 100px; text-indent: -9999em; width: 400px; }
This has a number of benefits: