Sorting Through the Graphic Possibilities

The Web probably wouldn't be so popular if it didn't support graphical content. Graphics give Web pages visual appeal that keeps users surfing for hours. Graphics are also essential for people designing and posting Web pages because graphics often convey a message more powerfully than text alone.

Placing an image on a Web page is a relatively easy matter—you need only one XHTML element, the <img /> element. This element has many attributes that give you control over how your graphics are presented.

Intelligent use of images requires planning, so you need to think about what idea you want to put forward, how to best represent the idea graphically, and what format is most appropriate for the graphic. You ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.