Computer Science, asked by Ruparam1535, 8 months ago

write a program using HTML with following specifications. 1) The background colour should be green . 2) The text colour should be red.3) The heading should be large in size as ' My First web page.' 4)Display a horizontal line after the heading.5) Display your name in bold ,address in italics and standard as 11th.​

Answers

Answered by sdkX
126

Answer:

<html>

<body bgcolor=green>

<h1 style="color:red">My First Webpage</h1>

<hr>

<p style="color:red">

<b> Unknown </b> <br>

<i> Unknown </i> <br>

11<sup>th</sup>

</p>

</body>

</html>

Answered by tiger009
39

Program of the HTML that contain following specifications.

Explanation:

<!DOCTYPE html>

<html>

<title>Design Web Page</title>

<head>

<style type="text/css">

*{

   background:green;

   color:#FF0000;

}

h1{

   font-size:5em;

}

</style>

</head>

<body>

<h1>My First web page.</h1>

<hr>

<p>Name: <b>Anonymus</b></p>

<p>Address: <i>Delhi</i></p>

<p>Standard: 11<sup>th</sup></p>

</body>

</html>

Following are the description of the program:

In the following HTML program, Firstly, we set required HTML tags then, inside the <head> tag we set <style> tag in it.

  • Firstly, we set a universal selector and inside it, we set the color of the background and then, we set the color of the fonts.
  • Then, we set h1 and inside it, we set the font size of the heading tag.

Finally, we set <body> tag and inside it.

  • Set <h1> tag for heading and then, set <hr> tag for the horizontal line.
  • Set <p> tag for the paragraph and inside it, we give certain details that are given in the question.

Learn More:

Write a program using html with following specifications ( please answer asap it's very imp) https://brainly.in/question/12432412

In a proper webpage, which tag holds all of a webpages visible HTML?  https://brainly.com/question/7391230

Similar questions