Assignment 5
1. Given HTML and CSS what will be the actual value of the **font-size** and padding of the heading?
**font-size** and padding of the heading?<!doctype html>
<head>
<title>About CSS</title>
<meta charset="UTF-8" />
<style>
section{
width: 100vw;
height: 100vh;
font-size: 2rem;
}
h1{
font-size: 1.5em;
}
</style>
</head>
<body>
<section>
<h1>CSS is fun!</h1>
</section>
</body>
</html>
2. Given the HTML and CSS below, what are the final computed values for font-size, padding, and margin of the <h1> element, considering inheritance and specific property values?
font-size, padding, and margin of the <h1> element, considering inheritance and specific property values?3. What are the final computed margin and padding of the <p> element?
margin and padding of the <p> element?4. What are the final computed color and border values of the <h1> element?
color and border values of the <h1> element?5. What are the final computed line-height, margin, and padding values of the innermost <p> element?
line-height, margin, and padding values of the innermost <p> element?Last updated