Computer Science, asked by Paulomi, 1 year ago

design an HTML document to display your name and address using background colour yellow and text colour blue

Answers

Answered by cuberseastindip02wqw
4

<!DOCTYPE html>

<html>

<!--Made By Dhruva Shaw-->

<head>

   <title>Name and Address</title>

   <!--This is your wish wheater to add or not-->

   <!--Html Tag Making it Responsive-->

   <meta charset="utf-8" name="charset">

   <meta http-equiv="X-UA-Compatible" content="IE=edge" name="IE Content">

   <meta name="viewport" content="width=device-width, initial-scale=1">

   <!--End of html tag-->

</head>

<!--There are two different ways of writing this, I am presenting the both options, and don't worry it's a comment tag so it won't be executed-->

<body style="color: blue; background-color: yellow;">

   <!--The first option. It uses CSS sor the styling-->

   <pre>

   <strong>Name</strong> : <b>Your NAME</b>  

   <strong>Address</strong> : <b>Your ADDRESS</b>

   </pre>

</body>

<!-- The type two is, this uses the simple HTML properties only,

<body bgcolor="yellow">

   <font color="blue">

       <pre>

       <strong>Name</strong> : <b>Your NAME</b>

       <strong>Address</strong> : <b>Your ADDRESS</b>

       </pre>

   </font>

</body> -->

<!-- Now it depends upon you which one to use. And it's a request to you that you please mark this as a Brainliest answer. -->

<!-- Thank You. Hopefully it helped you. -->

</html>


brainly216918: Nice answer
cuberseastindip02wqw: Thank You
Similar questions