InterviewSolution
| 1. |
Explain Me What Is The Difference Between <div> And <frame>? |
|
Answer» 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. 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. |
|