Results 1 to 8 of 8
  1. #1
    Senior Member
    Join Date
    Apr 2015
    Posts
    133

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

    A <div> is a generic container element for grouping and styling, whereas a creates divisions within a web page and should be used within the tag. The use of and are no longer popular and are now being replaced with the more flexible <iframe>.

  2. #2
    Registered User
    Join Date
    Apr 2017
    Posts
    233
    Div tag is a generic element for grouping and styling of HTML
    whereas, frame tag is used in inline frame in HTML

  3. #3
    Member
    Join Date
    Nov 2017
    Posts
    32
    <frame> creates divisions within a web page and <div> is a generic container element for grouping and styling.

  4. #4
    Registered User 24x7servermanag's Avatar
    Join Date
    Jul 2017
    Location
    India
    Posts
    1,022
    <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.
    Server Management Company
    India's Leading Managed Service Provider | Skype: techs24x7
    Cpanel Technical Discussions - Lets talk !

  5. #5
    Registered User
    Join Date
    Jan 2018
    Posts
    28
    Div is a generic container element for grouping and styling and Frame creates divisions within a web page and should be used within the <frameset> tag.

  6. #6
    Senior Member
    Join Date
    Nov 2015
    Location
    United Kingdom
    Posts
    245
    This means that one page has no content on it, but rather tells the browser which web pages you would like to open. 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.

  7. #7
    Registered User
    Join Date
    Jan 2018
    Posts
    277
    <frame> creates divisions within a web page and <div> is a generic container element for grouping and styling.

  8. #8
    Senior Member
    Join Date
    May 2015
    Location
    UK
    Posts
    204
    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. The use of <frame> and <frameset> are no longer popular and are now being replaced with the more flexible <iframe>, which has become popular for embedding foreign elements (ie. Youtube videos) into a page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.