In an tag, you sepcify the source as a path to the physical location of the image.
Instead of having external links, one can embed the image inside the tag in the following way:
or in a style sheet:
ul {list-style:none;} ul > li { margin:0 0 .1em; background:url(data:image/gif;base64,R0lGODlhEAAOALMAAOazToeHh0tLS/7LZv/0jvb29t/f3//Ub/ /ge8WSLf/rhf/3kdbW1mxsbP//mf///yH5BAAAAAAALAAAAAAQAA4AAARe8L1Ekyky67QZ1hLnjM5UUde0ECwLJoExK cppV0aCcGCmTIHEIUEqjgaORCMxIC6e0CcguWw6aFjsVMkkIr7g77ZKPJjPZqIyd7sJAgVGoEGv2xsBxqNgYPj/gAwXEQA7) top left no-repeat; ) height:14px; text-indent:1.5em; }
Embedding an image in a web page can save many http requests.
However this technique does not work with Internet Explorer 6-7
Tags
CSS