I see that HTML has both a frame tag and an iframe tag. How are they different, and when should one be preferred over the other?
I see that HTML has both a frame tag and an iframe tag. How
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A frame appears inside a frameset. An iframe appears inside an HTML document that has a
<body>.They do significantly different things.
Both can break linking/bookmarking (so should be used rarely), but the use cases for regular frames make it more likely that will happen with them than with iframes.