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

  • 6 Replies
  • 1769 Views
*

prodiggau1

  • Newbie
  • *
  • 42
  • +0/-0
    • View Profile
What is the difference between <div> and <frame>?
« on: January 09, 2017, 05:32:09 AM »
What is the difference between <div> and <frame>?

*

SunFineHanger

  • Newbie
  • *
  • 8
  • +0/-0
    • View Profile
    • Sunfinehanger
Re: What is the difference between <div> and <frame>?
« Reply #1 on: January 10, 2017, 03:00:24 AM »
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

  • Newbie
  • *
  • 10
  • +0/-0
  • Everyday Mug™
    • View Profile
    • Everydaymug
Re: What is the difference between <div> and <frame>?
« Reply #2 on: January 10, 2017, 04:57:56 AM »
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

  • Custom Home Automation Services
  • Jr. Member
  • **
  • 77
  • +0/-0
  • Bill Lintner
    • View Profile
    • Custom Home Automation Services
Re: What is the difference between <div> and <frame>?
« Reply #3 on: March 01, 2017, 12:10:50 AM »
<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

  • Best WordPress themes collection
  • Newbie
  • *
  • 39
  • +0/-0
  • webdesigner
    • View Profile
    • Single web design
Re: What is the difference between <div> and <frame>?
« Reply #4 on: April 28, 2017, 07:19:51 AM »
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

  • Generalboxel
  • Newbie
  • *
  • 7
  • +0/-0
  • Steel Wire Rope
    • View Profile
    • Generalboxel
Re: What is the difference between <div> and <frame>?
« Reply #5 on: June 07, 2017, 03:13:11 PM »
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

  • Kentowin
  • Jr. Member
  • **
  • 53
  • +0/-0
    • View Profile
    • Kentowin
Re: What is the difference between <div> and <frame>?
« Reply #6 on: February 19, 2018, 04:06:23 AM »
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.

 




See Our Webmaster Tools for Windows and Mac

A1 Sitemap Generator
      
A1 Website Analyzer
      
A1 Keyword Research
      
A1 Website Download
      
A1 Website Search Engine
      
A1 Website Scraper