HTML Frames In Hindi – What Is The Use Of Frames In HTML In Hindi?

HTML

HTML Frames In Hindi – What Is The Use Of Frames In HTML In Hindi? – HTML Frames Ka Istemal Web Browser Ki Window Ko Multiple Sections Ya Frames Me Divide Karne Ke Liye Kiya Jata Hai. Frames Ki Help Se Ek Hi HTML Page Ke Andar Hum Bhut Sare Web Pages Ko Display Kar Sakte Hain.

Note: Not supported in HTML5.

HTML Frames In Hindi

What Is The Difference Between Frame And Frameset Tags In HTML In Hindi? –  Dono Tags Me Bhot Difference Hai Kyuki Frames Ko Define Hum Body Tag Me Nahi Balki Frameset Tag Me Karte Hain.HTML Mein Frames Ko Define Hum  Frameset Tags Ke Andar Karte Hain.

<frameset cols="25%,50%,25%">  
    <frame src="frame1.html" >  
    <frame src="frame2.html">   
    <frame src="frame3.html">  
</frameset> 

How To Define/ Create Frames In HTML Document? – Kisi Bhi Webpage Ko Frames Mein Divide Karne Ke 2 Tareeke Hote Hain:

  • Vertical Frames
  • Horizontal Frames

Syntax of Frame tag:

          <frame src=”url”>

Note: Frame Tag Empty Tag Ki Category Me Aati Hai, Matlab Humen Frame Tag Ke Liye End Tag Dene Ki Zarurat Nahi Hoti.

How to create Vertical Frames In Hindi

Ek Example Ke Jariye Dekhte Hain Ki Vertical Frames Kaise Create Kiya Jata Hain:

Example:

<!DOCTYPE html>
<html>
<head>
	<title>Frame tag</title>
</head>
  <frameset cols="25%,50%,25%">
  	<frame src="https://masterprograming.com/html-style-tag-in-hindi/" >
  	<frame src="https://masterprograming.com/html-images-in-hindi-how-to-insert-image-in-html-in-hindi/">	
  	<frame src="https://masterprograming.com/html-lists-in-hindi/">
  </frameset>
</html>

Output:

Explanation:

Upar Diye Gaye Example Me Humne 3 Vertical Frames Create Kiye Hain, <frameset> tag Ke cols attribute Ki Help Se.

How To Create Horizontal Frames In Hindi

Ek Example Ke Jariye Dekhte Hain Ki Horizontal Frames Kaise Create Kiya Jata Hain:

Example:

<!DOCTYPE html>
<html>
<head>
	<title>Frame tag</title>
</head>
  <frameset rows="25%,50%,25%">
  	<frame src="https://masterprograming.com/html-style-tag-in-hindi/" >
  	<frame src="https://masterprograming.com/html-images-in-hindi-how-to-insert-image-in-html-in-hindi/">	
  	<frame src="https://masterprograming.com/html-lists-in-hindi/">
  </frameset>
</html>

Output:

Explanation:

Upar Diye Gaye Example Me Humne 3 Horizontal Frames Create Kiye Hain, <Frameset> Tag Ke Rows Attribute Ki Help Se.

The <Frameset> Tag Attributes

HTML Mein Neeche Diye Gaye  <Frameset> Tag Attributes Ka Istemal Kiya Jata Hai, Sath Hi Unka Description Bhi Dhyan Se Padhe –

S. No.AttributeDescription
1colsCols attribute ka istemal vertical frames create karne ke liye kiya jata hai,   Use absolute value in pixels <frameset rows = “300, 400, 300”> Use percentage value
<frameset rows = “30%, 40%, 30%”> Use wild card values
<frameset rows = “30%, *, 30%”> ‘*’ ka istemaal Browser ka Remaining area cover krne ke liye kiya jata hai
2rowsrows attribute ka istemal horizontal frames create karne ke liye kiya jata hai,
3borderIss attribute ke help se sabhi frames ke border ki width set kari jati hai aur value pixels mein di jati hai <frameset border = “3”>
4frameborderIss attribute ka istemal frames par 3D border apply karne ke liye kiya jata hai, for example, <frameset frameborder = “1”>, value 1 (yes) value 0 (no)
5framespacingIss attribute ka istemal frames ke beech me space den eke liye kiya jata hai, spacing value pixels me di jati hai, for example, <frameset framespacing = “10”>

The <Frame> Tag Attributes

HTML Mein Neeche Diye Gaye  <Frame> Tag Attributes Ka Istemal Kiya Jata Hai, Sath Hi Unka Description Bhi Dhyan Se Padhe –

S. No.AttributeDescription
1srcIss attribute ka istemal HTML file ka naam den eke liye kiya jata hai jo uss frame me load hogi, for example, <frame src=”/html/top_frame.htm”>
2nameIss attribute ka istemal frame ko naam den eke liye kiya jata hai.
3marginwidthIss attribute ka istemal frame ke top aur bottom borders aur content ke beech me space dene ke liye kiya jata hai, spacing value pixels me di jati hai, for example, <frame marginwidth = “10”>
4marginheightIss attribute ka istemal frame ke left aur right borders aur content ke beech me space dene ke liye kiya jata hai, spacing value pixels me di jati hai, for example, <frame marginheight = “10”>
5frameborderIss attribute ka istemal frames par border apply karne ke liye kiya jata hai, for example, <frame frameborder = “1”>, value 1 (yes) value 0 (no)
6noresizeBy deafault hum har frame ko resize kar sakte hain, uske borders ko drag kar ke, lekin iss attribute ki help se hum frames ko non-resizable bhi bna sakte hain
7scrollingIss attribute ka istemal scrollbars ke appearance ke liye kiya jata hai, for example, <frame scrolling=”no”>, values 3 tareeke ki ho sakti hain, “yes”, “no” ya “auto”
8longdescIss attribute ka istemal koi doosre page ka link den eke liye kiya jata hai, for example, <frame longdesc=”framedescription.htm”>

Leave a Reply

Your email address will not be published. Required fields are marked *