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...

HTML Frameset Code Example

How to Create a Multi-Column and Multi-Row Layout with HTML Frames


HTML Frameset Code


mixing Column and rows of frames can be both appear on the same webpage. by nesting one of frameset inside of another. mixing columns is  first create to frameset and nest a child frameset with the paren element.


How to Create a Multi-Column and Multi-Row Layout with HTML Frames

    Example :-



<!DOCTYPE html>

<html>

<frameset cols="20%, 30%, 35%">

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


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

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

</frameset>

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

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

</frameset>

</html>

How to Create a Multi-Column and Multi-Row Layout with HTML Frames

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 cols="20%, 30%, 35%">

frameset divides the browser window
Three columns
First column :- 20% width
Second column :- 30% width
Third Column :- 35% width

Step 5]

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

Nested Frameset divides left column horizont three row

Top row :- 20% height
Middle row :- 30% height
Bottom row :- 20% height

Step 6]

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

<frame> tag  load separate web page.

 use all frame load the same webpage.


How to Create a Multi-Column and Multi-Row Layout with HTML Frames

  Output  : -

HTML Frameset Code Example with Mixed Rows and Columns

Related Post :-

learn the html underline tag

html italic tag

learn html link 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