Wednesday, February 11, 2009

Figure tag in HTML 5 and Firefox

Figure tag new in HTML 5 is used to group some elements that are associated with a figure.
<figure id="fig1">
<legend>Figure 1. Indian Institute of Technology, Madras
<img alt=""
src="Madras_IIT_Campus.jpg" border="0" height="225"
vspace="5" width="300" align="left"/>

This gets rendered in the same way in all the recent browsers except in Firefox
3.0.6 as shown.

In the other browsers it renders like this one.

Of course, IE8 RC1 still cannot render it without first creating a figure element using the following:

No comments: Protection Status