Home
> HTML Questions
> What is the difference between <div> and <frame>?
What is the difference between <div> and <frame>?
Answer:
<div> tag is the division or section of the HTML document. You can define the specific format to the elements defined in the div tag in CSS so when you would like to apply the same style to that particular element then you just need to call that div tag.
<frame> tag is specifically used with the HTML5. It has the particular frame/set to the frameset.
<div> tag is just for the grouping in the styling while <frame> used to sub divide the page.