Write a CSS rule that gives all h1 and h2 elements a padding of 0.5 ems, a grooved border style and a margin of 0.Make a layout template that…

1: Write a CSS rule that gives all h1 and h2elements a padding of 0.5 ems, a grooved border style and a margin of 0.5ems.2:Make a layout template that contains a header and two columns. Use divs for the each layout component, and use float to line up the columns side by side. Give each component a border and/or a background color so you can see where your divs are.

Leave a Reply