HTML Code.doxs 2
HTML Code.doxs 2
<html>
<head>
<title> creating form </title>
</head>
<body bgcolor= "skyblue">
<h2> Sample form</h2>
<font size = 3>
<form>
FIRST NAME<input type= "text" name= "firstname" value= "" ><br>
LAST NAME <input type="text" name = "lastname" value=""><br>
EMAIL <input type="text" name="email" value="" ><br>
<input type= "checkbox" name= "check"> set google as my default
homepage <br><br>
<input value="send" type= "submit">
<input type= "reset">
</p>
</form>
</font>
</body>
</html>
QUES. WRITE A HTML USING BGCOLOR AND TEXT?
<html>
<head>
<title>using bgcolour and text </title>
</head>
<body bgcolor="yellow" text ="blue">
<p align= "center"> <font face="Colonna MT Regular" size= 6>
There is a lot of stress all around us these days. Most people
complain about problems at office, issues in relationships and the
growing competition in various fields. People are so engrossed in
dealing with these issues that they don’t see the real beauty of life.
There is so much more to life than these things. In fact, if we look at
life closely, we will realize how beautiful it is. God has given us an
abundance of everything. </font> </p>
<p> <font size = 6 face="Segoe Print">
Freedom fighters are people who fought to free their country from
an oppressor. They often face hardships in the process of securing
the freedom of their country and people. Because of the freedom
fighters who fought for Indian independence, we celebrate
Independence Day on August 15 every year.</font> </p>
</body>
</html>
QUES. WRITE A HTML CODE USING ALIGN TAGE IN IMAGE ?
<html>
<head>
<title> Aligning image </title>
</head>
<Body bgcolor= "yellow">
<b><font size=4 color= "blue"> grinning face </font></b>
<IMG src = "C:\Users\agarw\OneDrive\Pictures\grinning- face.png"
Align= "top"> --this image depict that the user is in a very good
temper and is laughing cheerfully. <br><hr>
<b><font size= 4 color= "blue">face with tears of joy </font></b>
<IMG src = "C:\Users\agarw\OneDrive\Pictures\joy with cry.jpg"
align= "middle">-- this emoji shows that the user is so happy that he
is shedding tears of joy <br> <hr>
<b> <font size= 4 color= "blue"> astonished face </font>
</b> <IMG src= "C:\Users\agarw\OneDrive\Pictures\astonish.jpg"
align="bottom"> --this emoji shows that the user is extremely
amazed and surprised
</body>
</html>
QUES. WRITE A HTML CODE USING HR TAG ?
<html>
<head>
<title>using horizontal tag </title>
</head>
<body bgcolor= "aqua">
<FONT size = 5>
<HR size= 20 width= "75%" align= "center" color= "red"><br>
<P align = "center"> Never judge each day by THE HARVEST YOU
REAP But by GOOD SEED YOU PLANT
</p> <br>
<HR size= 30 width= "75%" align= "center" color= "yellow">
<p align= "center"> Real Achievers are just Ordinary people but with
EXTRAORDINARY DETERMINATION </p><br>
<HR size= 40 width= "75%" align= "center" color= "green">
</font>
</body>
</html>
QUES . WRITE A HTML CODE USING TABLE TAG USING CELLSPACING ?
<html>
<head>
</head>
<table border=3 bgcolor= "white" align= "center" cellspacing= 10 cellpading= 10 height = 300 width
= 400>
<tr>
<th>S.NO</th>
</tr>
<tr>
<td>1</td>
<td>Bindu</td>
<td>A</td>
</tr>
<tr>
<td>2 </td>
<td> Yogesh</td>
<td> A+ </td>
</tr>
<tr>
<td>3</td>
<td>A</td>
</tr>
</table>
</body>
</html>
QUES. WRITE A HTML CODE USING TABLE TAG WITH BACKGROUNG IMAGE AND COLOR ?
<html>
<head>
</head>
<body background="file:///C:/Users/agarw/OneDrive/Pictures/Screenshots/flower%202.jpg">
</tr>
<td> 1</td>
<td> A+</td>
</tr>
<td> 2 </td>
<td>digraj </td>
<td> A</td>
</tr>
</table>
</body>
</html>
QUES. WRITE A HTML CODE USING TABLE TAG USING COLSPAN AND ROWSPAN
<html>
<head>
</head>
<tr>
</tr>
<tr>
<th> S.NO</th>
<th>Grads </th>
</tr>
<tr>
<td> 1 </td>
<td> A+ </td>
<td> 4 </td>
</tr>
<tr>
<td> 2</td>
<td> dhiraj</td>
<td> A </td>
<td> 7 </td>
</tr>
</table>
</body></html>
QUES. WRITE A HTML CODE USING TABLE AND INSERT IMAGE IN TABLE?
<html>
<head>
</head>
<body bgcolor="cyan">
<tr>
<th>S.NO</th>
<th> name</th>
</tr>
<tr>
<td>1 </td>
<td>the guide</td>
</tr>
<tr>
<td> 2 </td>
</tr>
</table>
</body>
</html>
QUES. WRITE A HTML CODE USING TABLE BORDER COLOR ?
<html>
<head>
</head>
<body>
<tr>
</tr>
<tr>
<td> Science</td>
<td> 80 </td>
</tr>
<tr>
<td>Rohit</td>
<td> Maths</td>
<td> 38 </td>
</tr>
<tr>
<td>Pradeep</td>
<td>Computer </td>
<td>99 </td>
</tr>
</table>
</body></html>
QUES. WRITE A HTML CODE USING LINK TAG
<html>
<head>
</head>
<ul>
</Font>
</ul>
</body>
</html>
QUES. WRITE A HTML CODE USING FORM TAG WITH ALL BUTTON ?
<html>
<head>
</head>
<form>
<input type= "checkbox" id= "graduate" value="graduate" name= "qualification"> graduate <br>
</select>
</form>
</body>
</html>
2
<html>
<head>
</head>
</head></body>
<h1> A new child can breath and swallow at the same time for up to seven month </h1>
</body>
</html>
QUES . WRITE A HTML CODE USING CSS TAG? 1
<html>
<head>
</head>
<body background="file:///C:/Users/agarw/OneDrive/Pictures/image.2.jpg"
text ="cyan">
<p> Technology is the study of scientific knowledge in order to create tools and processes that may
be used to change the world by increasing efficiency in nearly every aspect of our lives. Technology
has made our lives easier, and all human beings have become entirely dependent on technology. It is
now difficult to imagine a step ahead without technology. So to get an idea about writing a
paragraph on technology, refer to the samples given in the article.
</p>
</body>
</html>
QUES. WRITE A HTML CODE USING SUBSCRIPT AND SUPERSCRIPT?
<html>
<head>
</head>
CO<sub>2 </sub><br>
H<sub>2</sub>0<br>
</p>
</body>
</html>
QUES. WRITE A HTML CODE USING HORIZONTAL SPACE AND VERTICAL SPACE ?
<html>
<head>
</head>
<p> <font size=3> Creativity is a valuable workplace skill because it can be a useful tool for
developing new ideas, increasing efficiency and
While you may have natural creativity skills in certain forms, it is a skill that can be learned and
developed over time.
</p>
<IMG src="file:///C:/Users/agarw/OneDrive/Pictures/Screenshots/Screenshot%202023-11-
06%20213611.png "height=150 width=150 hspace=30 vspace=30 align="right">
<IMG src="file:///C:/Users/agarw/OneDrive/Pictures/Screenshots/Screenshot%202023-11-
06%20213611.png" height=150 width=150 hspace=30 vspace=30 align="left">
</p>
</font>
</body>
</html>