HTML in Hindi Frames




HTML Frames आपको एक HTML Documents में कई HTML Documents को Merge करने का एक तरीका प्रदान करता है.

HTML Frames Browser Window को कई Panes और Rectangular मे विभाजित करता है यह प्रत्येक Panel में अलग अलग HTML Documents हो सकता है.

HTML Frames Division Process मे HTML Table के समान होता है.

HTML Frameset <frameset> Element को HTML Panel <body> Tag के बजाय एक से अधिक Panel मे विभाजित करने के लिए उपयोग किया जाता है और प्रत्येक Panel HTML Frame <frame> Element द्वारा Define किया जाता है.

Iframes का उपयोग एक वेबपेज के अंदर दूसरे वेबपेज को प्रदर्शित करने के लिए किया जाता है.

For Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Frames Example</title>
   </head>
   <body>
      <p>This page is displayed in an Frames...</p>
      <iframe src="/html/menu.htm">
      </iframe>
      <p>This page is displayed in an Frames</p>
   </body>
</html>
 

Output

HTML Frameset Attributes

Attribute Description
cols यह Attribute Frameset मे Columns की संख्या को Specifies करता है और यह साथ ही Comma से विभाजित Width Percentage और Pixels मे भी Specifies किया जा सकता है.
rows यह Attribute Frameset मे Rows की संख्या को अपनी Height के साथ Comma से अलग करता है. और यह साथ ही Height को Percentage और Pixels मे भी Specifies किया जा सकता है.
border यह Attribute Frames के लिए Border की Width को Specifies करता है.

For Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Frames Example</title>
   </head>
   <frameset cols = "25%,50%,25%">
      <frame name = "left" src = "/html/top_frame.htm" />
      <frame name = "center" src = "/html/main_frame.htm" />
      <frame name = "right" src = "/html/bottom_frame.htm" />
      
      <noframes>
         <body>Your browser does not support frames.</body>
      </noframes>
   </frameset>
</html> 
 

Output

HTML Frame Attributes

Attribute Description
src यह Attribute Source HTML Document के URL को Specifies करता है.
frameborder यह Attribute Specifies करता है कि Frameborder को दिखाया गया है या नही.
noresize यह Attribute Specifies करता है कि User Frame का आकार बदलने में सक्षम होगा या नही.
scrolling यह Attribute Specifies करता है कि Frame के लिए Scrollbars दिखाई देंगे या नही.