Identify most HTML tags and CSS properties and use a text editor to construct the basic HTML and CSS structure for a webpage.

Question One

Create a code that gives the following output, use the CSS to change the color of all <p> and <h1> elements, to “green”. Group the selectors to minimize code and use the internal CSS.

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

20210331155535it_402_assignment_2_web_design

Powered by WordPress