Create Your First Functional Component in React JS – Beginner's Guide

Image
Create Your First Functional Component in React JS  1. Introduction When you start learning React JS, one of the first things you will come across is the concept of components. At first, components may seem like just another programming concept, but they are actually the foundation of almost every React application. Think about a website you use every day. It may have a header, navigation menu, login form, product section, and footer. Instead of writing all these elements together in one large file, React allows us to create separate parts and manage them independently. These separate parts are called components. In this tutorial, we are going to create our first functional component in React. We will start with a very simple example and gradually understand how components are created, exported, imported, and displayed on a webpage.  2. What Is a Functional Component in React?   A functional component is simply a JavaScript function that returns a user interface using JSX...

How to Create Nested Frames in HTML

 

How to Create Nested Frames in HTML

How to Create Nested Frames in HTML


What is the Nested Frames in HTML

html frames are used  divide a web page into multiple sections ,and each section display  a webpage  or document.
  •    frames nested   crate layout 
  •     header at the top
  •     left-side navigation menu
  •    right-side content area 

Syntax :- 

<frameset rows="value">

  <frame src="pagepath.html">

  <frame src=" pagepath.html">

</frameset>


How to Create Nested Frames in HTML (Step-by-Step Guide)


<!Doctype html>

<html>

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

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

<frameset cols="50%,50%">

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

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

</frameset>

</html>

How to Create Nested Frames in HTML (Step-by-Step Guide)

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 rows="20%, 80%">

<frameset> tag divided browser window into columns and rows
rows="20%,80%" divides the window horizontally
top = 20% :- frame header
bottom = 80% :- frame divided two frames

Step 5]

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

src :- src attribute defines webpage.
webpage displayed inside the frame.

Step 6]

<frameset cols="50%,50%">

cols ="50%,50%" divides this area into two equal part

Left half :- 50%
Rigth half :- 50%

Step 7]

</frameset>

closing tag

How to Create Nested Frames in HTML

   Output :-

How to Create Nested Frames in HTML



Related Post :-

html formatting tag

Learn the html underling tag

html italic Tag

Comments

Popular posts from this blog

HTML Tag

CSS Text Color Explained with Syntax and HTML Examples

CSS Outline Offset Property with Practical Examples