Multimedia elements bring HTML and XHTML documents alive, providing a dimension of valuable information often unavailable in other media, such as print. The code to embed audio and/or video is a bit more to digest. When you see a video playing right on a web page, chances are it’s a QuickTime movie that has been placed on the page with an object tag along with an embed tag. Read on.
You can assign each element a number (z-index). The system is that an element with a higher number overlaps an element with a lower number. The method is relatively simple but the possibilities are several. You can place images on text or text above text etc. Just note before applying a z-index, you must have declared a position type. Check out the example included in this tutorial.