W3.CSS Panels

w3-panel : The w3-panel class is used to add 16px left and right padding along with 16px top and bottom margin also to HTML elements.

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<body>
<div class="w3-panel w3-aqua">
<h1> GHI</h1>
<p> I am Panel 1 </p>
</div>
<div class="w3-panel w3-teal">
<h1> JKL</h1>
<p> I am Panel 2 </p>
</div>
</body>
</html>


Qus. 1 : What is work of w3-pannel class?

  1. provide 16px top and bottom margin and 16px left and right padding
  2. provide 16px top and bottom margin and 16px left and right margin
  3. provide 16px top and bottom padding and 16px left and right margin
  4. provide 16px top and bottom padding and 16px left and right padding
Qus. 2 : w3.css has a panel class that adds top and bottom margin and left and right padding to any elements respectively. which of the following is true?

  1. 16px, 16px, 16px, 16px
  2. 16px, 20px, 14px, 14px
  3. 16px, 16px, 14px, 14px
  4. 14px, 14px, 16px, 16px

Programs

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad