Web design: you can’t put a div in a p?
Self-tutoring about web design: the tutor shares a discovery.
As I understand, the p element can only contain inline elements, so can’t contain a div, which is block level.
Interesting, eh?
Source:
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.
Leave a Reply
You must be logged in to post a comment.