0% found this document useful (0 votes)
77 views

Important Questions - HTML

Uploaded by

ombhaiop6699
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

Important Questions - HTML

Uploaded by

ombhaiop6699
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

2024-2025 HSC- HTML IMPORTANT QUESTION S.H.V.O.

V AND JR COLLEGE

Q.1 Write html code to display IT online exam 2025 having text colour red and underline text effect using CSS.
(Internal CSS)
<!DOCTYPE html>
<html>
<head>
<title> Exam </title>
<style>
h1{color:red;text-decoration:underline}
</style>
</head>
<body>
<h1>IT online exam 2025</h1>
</body>
</html>

Q.2 Write html code to display IT online exam 2025 having text colour red and underline text effect using CSS.
(Inline CSS)
<!DOCTYPE html>
<html>
<head>
<title> Exam </title>
</head>
<body>
<h1 style="color:red;text-decoration:underline">IT online exam 2025</h1>
</body>
</html>

Q.3 Write html code to display IT online exam 2025 having text colour red and underline text effect using CSS.
(External CSS)
<!DOCTYPE html>
<html>
<head>
<title> Exam </title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>IT online exam 2025</h1>
</body>
</html>

style.css
h1{color:red;text-decoration:underline}

SUNIL SHUKLA (IT TEACHER) 1


2024-2025 HSC- HTML IMPORTANT QUESTION S.H.V.O.V AND JR COLLEGE
Q.4 Write code to get the following output.
<ul style="list-style-type:square">
<li> dairy milk </li>
<li> bournvile</li>
<li> munch</li>
</ul>
<li> fruits </li>
<ul style="list-style-type:circle">
<!DOCTYPE html> <li> apple </li>
<html> <li> orange</li>
<head> <li> grapes</li>
<title> Exam-list </title> </ul>
</head> </ol>
<body> </body>
<ol> </html>
<li> Chocolates </li>

Q.5 Write code to get the following output.

<h1> UROL</h1>
<ol type="I">
<li> Mango </li>
<li> Mango </li>
<li> Mango</li>
<li> Mango</li>
<li> Mango</li>
</ol>
<h1> UAOL </h1>
<ol type="A" start=6>
<li> Mango </li>
<li> Mango </li>
<li> Mango</li>
<li> Mango</li>
<li> Mango</li>
</ol>
<h1> LAOL </h1>
<ol type="a">
<li> Mango </li>
<li> Mango </li>
<!DOCTYPE html>
<li> Mango</li>
<html>
<li> Mango</li>
<head>
<li> Mango</li>
<title> Exam-list </title>
</ol>
</head>
</body></html>
<body>

SUNIL SHUKLA (IT TEACHER) 2

You might also like