You are on page 1of 8

Q1- to display heading as my first html page?

Ans- coding?
<html>
<head>
<title>my first page</title>
</head>
<body bgcolor="white" text="black">
<h1 align="center"> this is my first web page</h1>
</body>
</html>
run a window

Q2- to display bg colour as black and sample text at web page?


Ans- coding
<html>
<head>
<title>my first web page</title>
</head>
<body bgcolor="black" text="white">
<h1 align="center"> this is my first web page</h1>
hy friends! this is my first web page on html
it will tell u about different types of codes to create a web page
</body>
</html>
run a window

Q3- to add different titles to web page?


Ans- coding
<html>
<head>
<title>my first web page</title>
</head>
<body bgcolor="white" text="black">
<h1 align="center"> this is my first web page</h1>
hy friends! this is my first web page on html
it will tell u about different types of codes to create a web page
<h2>how to work on html</h2>
to work on html you have to open notepad the start writing codes to create
web page.
<h3 align="center">title addition</h3>
add a good title to ur web page
</body>
</html>

run a window

Q4- to display center and right aligned paragraph?


Ans-coding
<html>
<head>
<title>my first web page</title>
</head>
<body bgcolor="white" text="black">
<h1 align="center"> this is my first web page</h1>
hy friends! this is my first web page on html
it will tell u about different types of codes to create a web page
<h2>how to work on html</h2>
to work on html you have to open notepad the start writing codes to create
web page
<h3 align="center">title addition</h3>
add a good title to ur web page
<p align="center"> as you all know this is my first web page so plzz do a visit
to it to see how it had been made......</p>
<p align="right"> as we all can see that it is right alligned paragraph thus we
can say it is working properly as per coding done...........
</body>
</html>

run a window

Q5- to display the line break in paragraph?


Ans- coding
<html>
<head>
<title>my first web page</title>
</head>
<body bgcolor="white" text="red">
<h1 align="center"> this is my first web page</h1>
hy friends! this is my first web page on html
it will tell u about different types of codes to create a web page
<h2>how to work on html</h2>
to work on html you have to open notepad the start writing codes to create
web page
<h3 align="center">title addition</h3>
add a good title to ur web page
<p align="center"> as you all know this is my first web page so plzz do a visit
to it to see how it had been made......</p>
<p align="right"> as we all can see that it is right alligned paragraph thus we
can say it is working properly as per coding done...........
<p>there are lot of things to learn from html<br> like font colours and many
types of fonts or we can say styles of fonts............
</body>
</html>

Run a window

You might also like