Page 136 - 2403_Trackpad_V5.1_C6_Fb
P. 136
5. Long Answer Type Questions 3×3=9
a. Explain the difference between container tags and empty tags in HTML, with examples.
b. Compare low-level languages and high-level languages. Discuss their characteristics and
differences.
c. Explain how e-commerce websites work and list the steps involved in making an online
purchase.
6. Do as Directed 4×2.5=10
a. Identify the errors in the following HTML code snippet and rewrite the code after correcting
them:
name = “Alice”
age = 30
print(“Name:”, name “Age:”, age)
b. Create an HTML page with the following details:
• Apply H1 heading style to the text “Welcome to Web Design”.
• Style this heading to be centered, with a font colour of blue and underline it.
• Below the heading, include a paragraph with the text “Learn HTML and CSS with practical
examples.”
• Style this paragraph to have a font size of 18px and use the font-family “Arial”.
c. Create an HTML page with the following details:
• Apply H1 heading style to the text “Important Information”.
• Apply a margin of 30px on all sides.
• Make sure the text is transformed to uppercase.
• Add a paragraph with the text “Please read the following details carefully.”
• Apply a text transformation to capitalize the first letter of each word.
d. Write a Python program for a simple calculator that performs addition, subtraction,
multiplication, and division. The code should ask the user to input two numbers. Ask the user to
choose an operation. Perform the operation and display the result.
134 Premium Edition-VI

