HTML Tricks

From Hobowiki
Revision as of 09:25, 17 October 2019 by Brendan (talk | contribs) (12 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Embedding a Inline Image into a Page

This is a great way to have a single page hold everything you want without having to worry about broken images. Unfortunatley some browsers don't always display embedded images like they should. Luckily there is help. Here is how you do it:

  1. Use this: [1] or this: [2] to encode your image in base64.
  2. When you have the image base64 coded, you can now use this to display it: [3]

TODO: Find a better method of displaying inline images in a crossbrowser way

<analytics uacct="UA-868295-1"></analytics>