The no frame element is used to handle web browser that doesn't support frames to display contents. The no frame element can contain all the elements that you can find inside the body element of a normal HTML page. The no frame element is most used to link to a non-frame set version of the web site or to display a message to users that frames are required. The no frame element is ideal to use because this days many web browsers are used globally.
Listed below are the most common attributes you can use for the no frame element:
- class - provides the class or classes of the heading. This attribute is used to identify the name of the style class or classes to be used for rendering.
- id - provides a unique name for the heading.
- style - provides a cascading style sheet (CSS) properties to the heading.
- title - privides a text title for the heading. Most web browser displays the value of the title as "tooltip".
Here's an example on how to use the no frames element:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<mate name="keywords" content="blog, web development" />
<title>the NO FRAME element</title>
</head>
<frameset cols="20%,80%">
<noframes>
<body>
This document contains frames in which your web browser doesn't support.
</body>
</noframes>
<frame src="frame1.html" />
<frame src="frame2.html" />
</frameset>
</html>
0 comments:
Post a Comment