What is the difference between <div> and <frame>?

Started by prodiggau1, January 09, 2017, 05:32:09 AM

prodiggau1

What is the difference between <div> and <frame>?

SunFineHanger

A <div> is a generic container element for grouping and styling, whereas a <frame> creates divisions within a web page and should be used within the <frameset> tag.

everydaymug

The <div> tag defines a division or a section in an HTML document. The <div> tag is used to group block-elements to format them with CSS.
The <frame> tag is not supported in HTML5. The <frame> tag defines one particular window (frame) within a <frameset>. Each <frame> in a <frameset> can have different attributes, such as border, scrolling, the ability to resize, etc.

cinemagicllc

<Div> is a generic element for grouping and styling.
<Frame> creates divisions within a web page and should be used within the <frameset> tag.

michral86

The <div> tag defines a division or a section in an HTML document.
It is used for grouping the Content as a BLOCKS.
For an example:
<div id="myDiv" name="myDiv" title="Example Div Element">
<h5>Subtitle</h5>
<p>This paragraph would be your content paragraph...</p> <p>Here's another content article right here.</p>
</div>

The <frame> tag is not supported in HTML5.
The <frame> tag defines one particular window (frame) within a <frameset>.
For an example:
<html>
<body>
<frameset cols="30%,*"> <frame src="abc.html"> <frame src="def.html"> </frameset>
</body>
</html>

generalboxel

frame is an Old and obsolete html tag. DIV is basically relative and moving while crawling but frames are fixed. using frame is not good for seo now.

kentowin

A <div> is a generic container element for grouping and styling.

whereas a <frame> creates divisions within a web page and should be used within the <frameset> tag.