Professional Documents
Culture Documents
Code:-
<html>
<body></body>
</html>
Output :-
Code :-
<html>
<head><title>Rajesh Kumar</title></head>
<body>
<p>I'm Rajesh Kumar from bca third year student. My hobby is codding,watch
movies and playing virtual games.<br>Eleven students are my class and two feculty
</body>
</html>
Output :-
Code :-
<html>
<body>
</body>
</html>
Output :-
Object 4 :- Write html program to heading concept.
Code :-
<html>
<body>
<h1>This is heding.</h1>
<h2>This is heding.</h2>
<h3>This is heding.</h3>
<h4>This is heding.</h4>
<h5>This is heding.</h5>
<h6>This is heding.</h6>
</body>
</html>
Output :-
Object 5 :- Write html program to use BOLD,ITALIC and UNDERLIND attributes.
Code :-
<html>
<head><title>Rajesh Kumar</title></head>
<body>
<b>This is bold</b><br>
<i>This is italic</i><br>
<u>This is underline</u><br>
</body>
</html>
Output :-
Code :-
<html>
<head><title>Rajesh Kumar</title></head>
<body>
</body>
</html>
Output :-
Object 7 :- Write html program to h1,h2, P tag in style font-color and font-family
use inline CSS.
Code :-
<html>
<body>
Page </h1>
Language (HTML) is the standard markup language for Rajesh Kumars designed to be
displayed in a web browser.Web browsers receive HTML Rajesh Kumars from a web
server or from local storage and render the Rajesh Kumars into multimedia web
pages.<br><br> HTML describes the structure of a web page semantically and
originally included cues for the appearance of the Rajesh Kumar.HTML can embed
</body>
</html>
Output :-
Code :-
<html>
<body>
<li> Delhi
<li> Mumbai
<li> Kolkata
<li> Chennai
<li> Sirohi
</ul>
</body>
</html>
Output :-
Object 9 :- Write html program to use ol and li tag with list-sytle-type decimal in
css.
Code :-
<html>
<body>
<li>Rajesh
<li>Sahil
<li>Nishant
<li>Chand
<li>Bharat
<li>Pradhuman
</OL>
</body>
</html>
Output :-
Object 10 :- Write html program to use ol and li tag with list-sytle-type Lower-
Alpha in css.
Code :-
<html>
<body>
<li>Rajesh
<li>Sahil
<li>Nishant
<li>Chand
<li>Bharat
<li>Pradhuman
</OL>
</body>
</html>
Output :-
Object 11 :- Write html program to use ol and li tag with list-sytle-type Lower-
Greek in css.
Code :-
<html>
<body>
<OL Style="List-Style-Type:Lower-Greek; Font-Family:Segoe Print;Font-Size:30px">
<li>Rajesh
<li>Sahil
<li>Nishant
<li>Chand
<li>Bharat
<li>Pradhuman
</OL>
</body>
</html>
Output :-
Object 12 :- Write html program to use ol and li tag with list-sytle-type Lower-
Latin in css.
Code :-
<html>
<head> <title> Rajesh Kumar </title> </head>
<body>
<li>Rajesh
<li>Sahil
<li>Nishant
<li>Chand
<li>Bharat
<li>Pradhuman
</OL>
</body> </html>
Output :-
Object 13 :- Write html program to use DL, DT and DD tag with style font-
family,font color and font-size in css.
Code :-
<html>
<head> <title> Rajesh Kumar </title> </head>
<body>
<DL>
<DT> Mouse
</DL>
</body>
</html>
Output :-
Object 14 :- Write html program print two images first image is without border
and second image is with the border and set background image use css.
Code :-
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url('image.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100%;
</style>
</head>
<body>
</body>
</html>
Output :-
Object 15 :- Write html program to print a table and use css inline.
Code :-
<html>
<head>
<body style="background-color:lightgray;">
<table border="5"width="50%">
<TR><TH>NAME</TH><TH>Age</TH></TR>
<TR align="center"><TD>Rajesh</TD><TD>21</TD></TR>
<TR align="center"><TD>Bharat</TD><TD>58</TD></TR>
</table>
</body>
</head>
</html>
Output :-
Object 16 :- Write html program to print table and use internal CSS.
Code :-
<html>
<head>
<body style="background-color:white;">
<table border="1"style="text-align:center"width="50%">
<tr><th style="background-color:gray;">NAME</th>
<th style="background-color:gray;">Gender</th>
<th style="background-color:gray;">AGE</th>
</tr>
<tr align=center>
<td style="background-color:black;color:white;">Rajesh</td>
<td style="background-color:black;color:white;">Male</td>
<td style="background-color:black;color:white;">20</td>
</tr>
<tr align=center>
<td style="background-color:black;color:white;">Shrupal</td>
<td style="background-color:black;color:white;">Female</td>
<td style="background-color:black;color:white;">18</td>
</tr>
</caption>
</table>
</body>
</head>
</html>
Output :-
Object 17 :- Write html program to print two tables and cell spacing to use
internal CSS.
Code :-
<html>
<head>
<title>Rajesh Kumar</title>
<body style="background-color:white;">
<table border="1"style="text-align:center"width="20%">
<tr><th>NAME</th><th>AGE</th></tr>
<tr align="center"><td>Amit</td><td>20</td></tr>
<tr align="center"><td>Rashmi</td><td>18</td></tr>
</table>
<table border="1"style="text-align:center"CELLSPACING="10"width="20%">
<tr><th>NAME</th><th>AGE</th></tr>
<tr align="center"><td>Paramvir</td><td>20</td></tr>
<tr align="center"><td>Radhika</td><td>18</td></tr>
</table>
</body>
</head>
</html>
Output :-
Object 18 :- Write html program to add social media icons with CSS.
Code :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<a href="#" class="card">
</a>
</a>
</a>
</a>
</body>
</html>
CSS :
*{
margin: 0;
padding: 0;
box-sizing: border-box;
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #171717;
.card{
/* background: rgba(255,255,255,0.144); */
background-color: khaki;
border-radius: 10px;
text-decoration: none;
font-size: 2em;
color: black;
position: relative;
.card:hover{
color: black;
background-color: white;
transform: translateY(-10px);
Output :-
Object 19 :- Write html program to print table and caption to use inline CSS.
Code :-
<html>
<head>
<title>Rajesh Kumar</title>
<body style="background-color:light-gray;">
<table border="5"width="50%">
Terminus</TD><TD>Nagpur</TD></TR>
<TR align="center"><TD>MADRAS
MAIL</TD><TD>MADRAS</TD><TD>DELHI</TD></TR>
<TR align="center"><TD>ASHRAM
EXP.</TD><TD>AHMEDABAD</TD><TD>DELHI</TD></TR>
<TR align="center"><TD>DECCAN
EXP.</TD><TD>CHENNAI</TD><TD>MUMBAI</TD></TR>
</table>
</body>
</head>
</html>
Output :-
Code :-
<html>
<head>
<title>Rajesh Kumar</title>
<body style="background-image:url(back4.png);"><br>
<li><a href="East.html">East</a>
href="West.html">West</a>
<li><a href="South.html">South</a>
</ul></b></i>
</body> </html>
Output :-
Code :-
<html>
<head>
<title>Rajesh Kumar</title>
<body style="background-image:url(back4.png);"><br>
<span style="Text-align:center;"<br>
<br>
</span>
</body>
</head>
</html>
Output :-
Code :-
rajesh1:
<html>
<head>
<title>Rajesh Kumar</title>
<style>
body{
background-image: url("rajesh12.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100%;
text-align: center;
}
</style>
</head>
<body>
<b><br>
</body>
</html>
rajesh2:
<html>
<FRAMESET ROWS="70,*">
<FRAMESET COLS="35%,*">
<FRAME src="rajesh3.html"Name="FRAME2">
<FRAME src="rajesh4.html"Name="FRAME3">
</FRAMESET>
</FRAMESET>
</html>
rajesh3:
<html>
<body style="background-image:url(rajesh21.jpg);text-align:center;background-
repeat: no-repeat;background-attachment: fixed;background-size: 100vh;">
<br><br>
<img height="100"src="download.jpg"/>
<body> </html>
rajesh4:
<html>
<body style="background-image:url(rajesh21.png);background-attachment:
fixed;background-size: 100%;"><br/><br/>
<b><ul>
</ul></b>
</body>
</html>
Output :-