Computer Science, asked by florapoppyevangelin, 6 months ago

I. Write a program in HTML to create a webpage with the following specifications.
1. Heading as web page
2. Display the different steps involved in creating webpage in a list
3. Apply different color to each list
4. Text size of each list should be 6
5. Apply different font style to each list
6. Background color should be yellow

Answers

Answered by anindyaadhikari13
6

Question:-

Write a program in HTML to create a web page with following specifications.

  1. Heading as Web Page.
  2. Display the different steps involved in creating web page in a list.
  3. Apply different color to each list.
  4. Text size of each list should he 6.
  5. Apply different font style to each list.
  6. Background color should be yellow.

Approach:-

Here is your required answer.

___________________________________

<!DOCTYPE html>

<html>

<head>

<title>HTML example</title>

</head>

<body bgcolor="yellow">

<! Background Color given:- Yellow--(6)>

<h1 style="text-align: center;">Web Page:-</h1>

<! Center tag is not supported in HTML5, so, css code is required--- >

<! This is a comment-->

<! Heading given:- Web Page-----(1)-->

<br/><br/>

<! Different steps.. ---(2)-->

<p>The different steps involved in creating a web page are:- </p>

<! Color, font and size, given... --(3), (4), (5)--->

<font size=6>

<ol>

<li><font color="red" face="calibri">Register your domain name. </font>

<li><font color="green" face="verdana">Find a good web hosting company. </font>

<li><font color="orange" face="arial">Prepare your content. </font>

<li><font color="black" face="times new Roman ">Build your Website. </font>

</ol>

</font>

<! Remember:- LI tag has no closing, teachers may be confused--->

</body>

</html>

___________________________________

I have added some comments so that you can understand it properly. While writing the answer,remove those comments.

Output for your html doc is given in the attachment.

Comments are written in this way,

<! Comment section-->

Attachments:
Similar questions