Web Design and Development
When websites first started becoming popular in the late 90′s, web developers wanted to deploy websites that were fast loading on the typical modem connection. The solution: frames.
One great thing about frames was that they could be used to insert repeatedly used chunks of HTML (such as the page navigation or page footer) in multiple pages. And these portions of the page would not reload for each page view, which translated directly into a faster page load.
And for large websites, there was one added benefit. Developers no longer had to modify each page when a new navigational link was added. Instead, only the HTML page containing the page navigation would have to be modified. So this enabled someone with no advanced coding skills to create large scalable websites.
However, while it was a good idea at one time, both HTML and the Internet have come a long way. And now, there are no longer many — if any — reasons why websites should use frames.
You might have heard of a special class of frames called iframes. IFrames, also known as Inline Frames, are generally used to embed external content in a web page. (Common uses include advertisements, widgets, and entire web pages.)
Using an iframe is even simpler than using typical frames. Instead of creating a frameset and working with multiple documents, an IFrame can be created by simply inserting one html tag in a document. See the example below:
The material below comes from the homepage of VelvetBlues.com
<iframe src="http://www.velvetblues.com" height="200">
Some alternative text for browsers that do not support IFrames.
We don’t advocate using frames, but for some websites, frames may be a good solution. This includes websites or intranets that restrict search engines from crawling their pages. And for these websites, they can save costs by hiring novice coders.
However, for the majority of websites, frames — other than iframes — should not be used. Instead, opt for a dynamic solution. This will give you the same benefits as using frames, but will also increase your search engine optimization by enabling all of your pages to be indexed. And given that the majority of a website’s traffic generally comes from search engines, moving away from frames will be worth it!Tags: frames, load time, navigation, search engines