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>.
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>.
Div tag is a generic element for grouping and styling of HTML
whereas, frame tag is used in inline frame in HTML
<frame> creates divisions within a web page and <div> is a generic container element for grouping and styling.
<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 !
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.
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.
<frame> creates divisions within a web page and <div> is a generic container element for grouping and styling.
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.
<DIV >
Definition and Usage
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.
A <div> is a generic container element for grouping and styling.
<DIV> Example
<!DOCTYPE html>
<html>
<html>
<head>
<style>
div {
display: block;
}
</style>
</head>
<body>
A div element is displayed like this:
<div>This is some text in a div element.</div>
Change the default CSS settings to see the effect.
</body>
</html>
<FRAME>
Definition and Usage
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.
<FRAME> Example
<!DOCTYPE html>
<html>
<frameset rows="25%,*,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</html>
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.
|
Bookmarks