CLASS X HTML PRACTICE QUESTIONS 12 AUG 2026
CBSE Class X Computer Applications (Code 165)
Exclusive HTML Coding Practice
Output & Debugging Questions (10 Marks)
Q1. Predict the exact output of the following HTML code snippet: (2 Marks)
<html>
<body>
<h2>Learning HTML</h2>
<p> HONESTY IS THE BEST POLICY </p>
</body>
</html>
Q2. Identify and correct the errors in the following HTML source code: (3 Marks
<HTML>
<BODY>
<TITLE>My First Webpage</TITLE>
<H1 align=center>Welcome To My Site
<P>This is a paragraph with <B>bold text and <I>italics text</B></I>.
</BODY>
</HTML>
Q3. Write the output for the given HTML list code: (5 Marks)
<HTML>
<HEAD>
<TITLE> Ordered list </TITLE>
</HEAD>
<BODY>
<ol type="A" start="2">
<li>Apple</li>
<li>Banana</li>
<li type="square">Cherry</li>
</ol>
</BODY>
</HTML>Programming & Code Writing Questions (15 Marks)
Q4. Basic Web Page Structure: (4 Marks)
Write an HTML code to design a web page with a Blue background color, a page title reading "My School", and a centered heading (<h1>) displaying "Welcome to Delhi Public School".
Q5. Formatting & Paragraphs: (5 Marks)
Write an HTML code to display a paragraph about "Cyber Safety". The paragraph must include:
The words "Cyber Safety" rendered in bold.
A line break (
<br>) after the first sentence.A horizontal rule (
<hr>) placed right below the paragraph.
Q6. Lists & Tables/Multimedia (Comprehensive): (6 Marks)
Write a complete HTML code to create a web page that contains:
An unordered list (
<ul>) of three programming languages: Python, Java, and HTML, using disc bullets.An image inserted below the list using the
<img>tag with attributessrc="computer.jpg",width="200",height="150", andalt="Computer Image".
Comments
Post a Comment