CBSE BOARD X, asked by zoeytheking, 1 month ago

Create a CSS document called personal.css with rules for the following:
a) Have your H2 heading
i. Appear in a color of your choice
ii. Be centered on the page
iii. In the Serif Font family of your choice
b) For Paragraphs
i. Specify a font family and font size
ii. Give a background color with 5px padding on each side.
c) For Tables
i. Specify a border of width 3px
ii. Table heading in bold

Answers

Answered by sukki120599
3

Answer:

personal.css

Explanation:

h1 {

 color: green;

 text-align: center;

 font-family: "Times New Roman", Times, serif;

 }

p{

font-family: Arial, Helvetica, sans-serif;

font-size: 30px;

background-color: yellow;

padding: 5px

}

table {

  border: 3px solid black;

}

th{

 font-weight: bold;

}

Similar questions