Using the object Element to Embed Images - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:object

Introduction

You can use the object element to embed images in your HTML documents.

Embedding an Image with the object Element

Demo Code

ResultView the demo in separate window

<!DOCTYPE HTML>
<html>
    <head>
        <title>Example</title>
    </head>
    <body>
              <object data="http://java2s.com/resources/g.png" type="image/png">
              </object>
    </body>
</html><!--   w w w .  j  a va 2  s. c o m-->

Related Tutorials