Figure tag new in HTML 5 is used to group some elements that are associated with a figure.
-----------------------
<figure>
<figure id="fig1">
<legend>Figure 1. Indian Institute of Technology, Madras
Campus</legend><br/>
<img alt="http://www.iitm.ac.in/"
src="Madras_IIT_Campus.jpg" border="0" height="225"
hspace="5"
vspace="5" width="300" align="left"/>
</figure>
------------------
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:
document.createElement("figure");
No comments:
Post a Comment