Web D File 1
Web D File 1
<html>
<body style="background-color:yellow;">
</body>
</html>
<body style="background-color:beige">
<p>AGE:-24 </p>
</body>
</html>
Q3) Write HTML code to design a page containing some text in a paragraph by giving suitable
heading style
<html>
<h4>OUR RECRUITERS</h4>
<p>*Paloalto<br>*Accenture<br>*Autodesk<br>*Adidas<br>*Walmart<br>*TCS<br>*Cognizant<br
>*Zepto</p>
<h4>PLACEMENT 2023-2024</h4>
Walmart Global</p>
< /body>
</html>
<html>
<body style="background-color:black">
<p><b>log</b><sub>b</sub>m<sup>p</sup>=p<b>log</b><sub>b</sub>m </p>
</body>
</html>
Q5)Write HTML code to create a web page that contains an image at its center
<html>
<head>
</head>
<center>
</center>
</body>
</html>
Q6) Create a web page with an appropriate image towards the left-hand side of the page,when user
clicks on the image another web page should open.
<html>
<head>
</head>
<a href="https://www.youtube.com/">
</body>
</html>
Q7) Create web pages using Anchor tag with its attributes for external
<html>
<head>
</head>
<body>
</body>
</html>
Q8) Create a web page for internal links;when the user clicks on different links on the webpage It
should go to the appropriate locations in the same page
<html>
<head>
<style> #menu{
display:flex; justify-content:space-around;
</style>
</head>
<body>
<div id="menu">
</div>
<div id="intro">
<h1>INTRODUCTION</h1>
<p>Rohit Sharma (born 30 April 1987) is an Indian international cricketer who currently plays for and
captains the India national cricket team in Test and One Day International (ODI) matches. Previously,
he also
captained the team in Twenty20 International (T20I) matches and led India's win in 2024 ICC Men's
T20
World Cup, subsequent to which he retired from T20s in June 2024.[3][4] He is considered to be one
of the best batsmen of his generation and one of the greatest opening batters of all time </p> </div>
<div id="image">
</div>
<div id="about">
<h1>ABOUT</h1>
<p>He holds several batting records which famously include most runs in T20 Internationals, most
sixes in
international cricket,[a] most double centuries in ODI cricket (3), most centuries at Cricket World Cups
(7)
also holds the world record for the highest individual score (264) in a One Day International (ODI)
match and
is the only player to have scored three double-centuries in ODIs and also holds the record for scoring
most
hundreds (five) in a single Cricket World Cup, for which he won the ICC Men's ODI Cricketer of the
Year award in 2019. He is the only player to win 50 matches as captain in T20Is. </p> </div>
</body>
</html>
Q9) Write a HTML code to create a web page with pink colorbackground and display moving
message in red color
<html>
<head>
</head>
<body>
</body>
Q 10) Create a web page, showing an ordered list of all second semester courses.
<html>
<head>
</head>
<body>
<li>English </li>
<li>Maths </li>
<li>Python </li>
</body>
</html>
Q11) Create a web page, showing an unordered list of all the diploma Programs.
<html>
<head>
</head>
<body>
</body>
</html>
Q12) Create a HTML document containing a nested list showing a content page of any book.
<html>
<body>
<ol type=1>
<li>chapter1</li>
<ol type=1>
<li>section one</li>
<li>section two</li>
</ol type=1>
<ol type=1>
<li>section one</li>
<li>section two</li>
</ol>
</body>
</html>
<html>
<head>
</head>
<body>
<table>
<tr>
<th> reg.number</th>
</tr>
<tr>
<td> 20AK1A0501</td>
<td> suma</td>
<td> 2nd/3rd</td>
<td> 12/08/2006</td>
</tr>
<td> 20CV1B0502</td>
<td> ravi</td>
<td> 2nd</td>
<td> 08/09/2006</td>
</tr>
<td> 20ER1C050</td>
<td> RAJ</td>
<td> 3rd</td>
<td> 11/11/2003</td>
</tr>
</table>
</body>
</html>