i noticed just now upon trying to validate a simple page displaying a new website concept that it is apparently invalid XHTML to have an <img> as the child of the <body>..
my first thought was that <p><img /></p> doesn't make a lot of sense, so i set the images to display: block and thought i'd be good to go.
so is there a mental angle to this i'm not quite grasping? i just don't understand why it's REQUIRED to be within' a <p> or something else. i mean, i can kind of see why.. but to me "paragraph" is a term of type layout..
my first thought was that <p><img /></p> doesn't make a lot of sense, so i set the images to display: block and thought i'd be good to go.
so is there a mental angle to this i'm not quite grasping? i just don't understand why it's REQUIRED to be within' a <p> or something else. i mean, i can kind of see why.. but to me "paragraph" is a term of type layout..
Comment