• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Formatting Block Elements > Setting Padding, Borders, and Margins fo...

Setting Padding, Borders, and Margins for Images and Other Objects

The IMG and OBJECT elements are used to insert an inline image and other object into a Web page. Inline images are inline elements that are displayed at the position where they are inserted on a line. An object in HTML might be an inline image, a Java applet window, or a streaming video console, for instance.

In HTML 4 (and XHTML) the BORDER attribute, used to control the display of a border around an inline image or object, is deprecated, in favor of using styles to achieve the same or better results.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint