write a program in HTML to display 4 rows and three columns
Answers
Answer:
How to create columns in HTML
<div class="row"> tag is used to initialize the row where all the columns will be added.
<div class="column" > tag is used to add the corresponding number of columns.
style="background-color:#aaa;" property is used to give color to the column.
Answer:
How TO - Three Column Layout
Learn how to create a 3-column layout grid with CSS.
How To Create a Three Column Layout
Step 1) Add HTML:
Example
<div class="row">
<div class="column"></div>
<div class="column"></div>
<div class="column"></div>
</div>
Step 2) Add CSS:
In this example, we will create three equal columns:
Example
.column {
float: left;
width: 33.33%;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;}
Explanation:
hope it helps u
mark as brainliest