React Components Explained: Types, Features and Examples for Beginners

Image
Learn Functional and Class Components in React with Practical Examples. 1. Introduction to React Components React is a popular JavaScript library used to build modern and interactive user interfaces. It helps developers create websites and web applications that are fast, flexible, and easy to maintain. One of the most important concepts in React is Components. React Components make it possible to divide a large user interface into smaller and reusable parts. For example, a website may contain a Header, Navigation Bar, Sidebar, Main Content, and Footer. Instead of writing all the code in a single file, developers can create separate components for each section. This approach makes website development more organized and understandable. Beginners can learn React more easily by understanding how components work. 2. What Are React Components? React Components are independent and reusable pieces of a user interface. They are one of the basic building blocks of React applications....

frameset tag in html with example

How to Create a Horizontal Frameset in html 

frameset tag html


What is the frameset tag in html 

horizontal Rows of frames can be created by using  rows attribute rather than the cols attribute  shown in HTML.horizontal frameset tag divide a webpage into top to bottom section row using <frameset> tag with rows attribute each section use <frame> tag 

Syntax :- 

<frameset row="value">


<frame src="pagepath.html">
<frame src="pagepath.html">


</frameset>


How to Create a Horizontal Frameset in html 

    Example :-


<!DOCTYPE html>

<html>

<frameset rows="20%,  20%, 20%, 20%">

<frame src="https://webdesigningtheory.blogspot.com/">

<frame src="https://webdesigningtheory.blogspot.com/">

<frame src="https://webdesigningtheory.blogspot.com/">

<frame src="https://webdesigningtheory.blogspot.com/">

</frameset>

</html>

How to Create a Horizontal Frameset in html 

Explain program 

Step 1 ]

<!Doctype html>

  • <!doctype html>  always be the first line of any HTML document.

Step 2 ]

   <html> and </html>

   html  is the root element.

Step 3 ]

<body> and </body>

body  is  main content area.

All visible content inside to  the <body> tag

Step 4]

<frameset>

Instead  using <body> tag use a frameset  to divide the browser window 
divide into multiple section a frames tag use

<frameset> tag use element tell browser how to split the page vertically or horizontally 

   Syntax :- 
 
  <frameset cols ="value1,value2, value3,.....">   = vertically divide
 <frameset  rows= " value1,value2,value3,....."> = horizontally

Step 5]

<frameset rows="20%,  20%, 20%, 20%">
  
frameset rows attribute divide the window horizontally  into four rows
 each row 20% height of the browser
 

Step 6]

<frame src="https://webdesigningtheory.blogspot.com/">

each <frame> tag defines one section frame with the frameset tag
src attribute use browser which web page to load inside frame tag
each four frame src the same website :- web designing theory blog

use <frameset> tag use external webpage inside each four frames

Step 7]

</frameset>

close the <frameset > section 

Step 8]

</html>

Close the html tag

How to Create a Horizontal Frameset in html 
  output

 

How to Create a Horizontal Frameset in html



Related Post :-

how to use image tag in html

html heading tags explain structure

how to use pre tag html with example

Comments

Popular posts from this blog

HTML Tag

CSS Text Color Explained with Syntax and HTML Examples

CSS Outline Offset Property with Practical Examples