ADITYA
ADITYA
Session - 2023-24
Class: Section_
PGT-Information Technology
Roll no.: Raj International School, Rewari
CERTIFICATE
Name of practicals
1. Write an HTML code to show your name in heading.
9.
Write an HTML code to show a table given below
10.
12. Write inline CSS Code for color and background color.
CODING:-
<HTML>
<BODY>
<H1>ADITYA</H1>
</BODY>
</HTML>
CODING:-
<HTML>
<BODY>
<H1>HEADING NO.1</H1>
<H2>HEADING NO.2</H2>
<H3>HEADING NO.3</H3>
<H4>HEADING NO.4</H4>
<H5>HEADING NO.5</H5>
<H6>HEADING NO.6</H6>
</BODY>
</HTML>
:- PROGRAME#3 Write an html code to show
background colour of the webpage
CODING:-
<HTML>
<HEAD>
</HEAD>
<BODY bgcolor=red>
<H1>BACKGROUND COLOR</H1>
</BODY>
</HTML>
:- PROGRAME#4 :write the HTML code to
show font face, size and color
CODING:-
<HTML>
<HEAD>
</HEAD>
<BODY>
<P>
<FONT SIZE="10PX"FACE="ITALIC"COLOR="GREEN">
</FONT>
</P>
</BODY>
</HTML>
:- PROGRAME#5: write an HTML code to
insert image of any famous personality in
center
CODING:-
<HTML>
<BODY>
<H1>FAMOUS PERSONALITY</H1>
<H2>NARENDAR MODI</H2>
</BODY>
</HTML>
:- PROGRAME#6 : write
an HTML code to
show the (a+b)2 = a2 + b2 + 2ab.
CODING:-
<HTML>
<BODY>
<P>(A+B)<SUP>2</SUP>=A<SUP>2</SUP>+B<SUP>2</SUP>+2AB
</BODY>
</HTML>
:- PROGRAME#7:write an HTML code to
create unordered list for fruits and
vegetables.
CODING:-
Coding:
<html>
<head>
<title>
</title>
</head>
<body>
Fruits
<ul>
<li>Kiwi</li>
<li>Mango</li>
<li>Apple</li>
</ul>
Vegetables
<ul>
<li>Mushroom</li>
<li>Cabbage</li>
<li>Brinjal</li>
</ul>
</body>
</html>
Program#8: write an HTML code to show
ordered list of grocery items.
Coding:
<html>
<head>
<title>
</title>
</head>
<body>
Grocery items
<ol>
<li>Sugar</li>
<li>Honey</li>
<li>Cheese</li>
</ol>
</body>
</html>
:- PROGRAME#9: Write inline CSS Code for
color and background color.
CODING:-
<HTML>
<HEAD>
<STYLE>
BODY
BACKGROUND-COLOR: LIGHTBLUE;
COLOR:RED;
TEXT-ALIGN: CENTER;
</STYLE>
</HEAD>
<BODY>
<H1>ADITYA</H1>
</BODY>
</HTML>
CODING:-
<html>
<head>
<title>
</title>
</head>
<body>
<table border="1" bgcolor="yellow">
<tr>
<th colspan="4">Players Details </th>
</tr>
<tr>
<th></th>
<th>First Name</th>
<th>Last Name</th>
<th>DOB</th>
</tr>
<tr>
<td><img src="C:\Users\Yogesh Kumar\Pictures\A.PNG" height="70"
width="70"></td>
<td>Albert</td>
<td>Pinto</td>
<td>8th July,1976</td>
</tr>
<tr>
<td><img src="C:\Users\Yogesh Kumar\Pictures\B.PNG" ssheight="70"
width="70"></td>
<td>David</td>
<td>Jacob</td>
<td>15th July,1988</td>
</tr>
<tr>
<td><img src="C:\Users\Yogesh Kumar\Pictures\C.PNG" height="70"
width="70"></td>
<td>Michel</td>
<td>Atheron</td>
<td>10th April,1987</td>
</tr>
</body>
</html>
CODING:-
<html>
<head>
<title>
</title>
</head>
<body>
<option>Science
<option>Arts
<option>Commerce
</select><br>
<input type="submit">
</form>
</body>
</html>
:- PROGRAME#12-write
inline CSS for color
and background color
CODING:-
<html>
<head>
<head>
<body style=”background-color:yellow;”>
</html>
<head>
<style>
h2{border-style:double;border-color:orange;border-width:20px;}
</style> </head>
<body>
<h2>Computer</h2></body>
</html>
CODING:-
h2{outline-width:5px;outline-style:dashed;outline-color:red;outline-offset:5px;}
</head>
<body>
:- PROGRAME#15-
Write internal CSS Code
for FONT properties
CODING:-
<html>
<head>
<style>
</style>
</head>
<body>
<h2> computer </h2> </body> </html>