Html / CSS Question

Question Three

Create a code with <h1>, two paragraphs <p> and make sure you apply internal CSS where the background color of <h1> element is blue and the Set the transparency/opacity of it to “0.4”.

Question Two

The following codes are using the RGB, change it to RGBA color in order to set the opacity for the background color of <h1> element to “0.3”.

<!DOCTYPE html>

<html>

<head>

<style>

h1 {

   background-color: rgb(0,255,0);

}

</style>

</head>

<body>

<h1>Welcome to my world </h1>

<p>This is a Disney Website where you can have the full experience</p>

<p>Have fun and enjoy your time</p>

</body>

</html>

DETAILED ASSIGNMENT

20210405162455it404_assignment_2

Powered by WordPress