13. Explain the purpose of the vlink and alink attributes used within the <body> tag.
Ans: vlink (Visited Link) attribute is used to specify the color of a hyperlink that the user has already clicked/visited.
alink (Active Link) attribute specifies the color of a link at the exact moment it is being clicked by the user.
14. A. A school is developing a digital learning platform where students can submit projects and communicate with teachers online. The school wants to ensure that the system is efficient, reliable, and secure for sending and receiving files. A student is required to send an electronic project report as an email attachment to the teacher.
Based on the given scenario, answer the following questions:
a. Identify the protocol used for sending emails and justify your answer with one appropriate reason.
Ans: SMTP (Simple Mail Transfer Protocol)
It is the standard protocol for sending emails from a sender’s client to the recipient’s mail server and it supports attachments, making it suitable for sending project reports.
b. Explain one possible problem that could occur if an unsuitable or insecure protocol is used, and suggest one measure the school can implement to ensure secure email communication.
Ans: One possible problem is that emails could be intercepted by unauthorised people, allowing them to read confidential information such as student or staff details.
One measure the school can implement is to use a secure email protocol such as TLS/SSL to encrypt email communication, preventing unauthorised access while messages are being transmitted.
OR
B. What do you understand by the term web-address? How is it different from an email address?
Ans: A web address is the address used to open a website on the internet, such as www.learncse.in.
An email address is used to send and receive emails, such as learncsedotin@gmail.com.
Difference: A web address opens a website, while an email address is used for email communication.
15. What is the significance of the alt attribute in the <img> tag? Provide one scenario where it is useful.
Ans: The alt attribute gives a text description of an image. If an image does not load, the alt text tells the user what the image was about.
16. A. Write the HTML code to embed an audio file named song.mp3 into a webpage. Ensure that the audio plays automatically.
Ans: <audio controls autoplay>
<source src="song.mp3" type="audio/mpeg">
</audio>
OR
B. Write the HTML code snippet to create an Ordered List of the top three winners of a competition. However, the list should start numbering from '4' instead of '1'. List items are as shown below
(4. Rahul, 5. Sneha, 6. Amit)
Ans: <ol start="4">
<li>Rahul</li>
<li>Sneha</li>
<li>Amit</li>
</ol>
17. How can we create a hyperlink that directly opens the user’s email client to send an email to "info@school.com"? Write the syntax.
Ans: <a href="mailto:info@school.com">Send Email</a>
18. A. Explain the purpose of the style attribute in HTML. Write an HTML statement to set the font color of a paragraph to "red" using inline CSS.
Ans: The style attribute is used to add CSS styling directly to an HTML element.
<p style="color: red;">This is a paragraph.</p>
OR
B. Ravi is trying to make an online payment on an e-commerce website.
He sees that the website's URL starts with "http". Should he continue with the payment? Give reasons to support your answer.
Ans: No, Ravi should not continue with the payment.
Reason: HTTP is not secure and does not encrypt the information sent between the user and the website. For online payments, he should use a website that starts with HTTPS, which provides a secure, encrypted connection.
19. What is e-Governance? Give one example of an e-Governance website in India.
SECTION C - (20 to 23) 4X3 = 12 Marks
20. The following HTML statements contain errors. Rewrite the correct statements for each.
i. <a src="page2.html">Next Page</a>
Ans: <a href="page2.html">Next Page</a>
(Correction: The attribute for anchor tag is href, not src)
ii. <img href="flower.jpg" alt="Rose">
Ans: <img src="flower.jpg" alt="Rose">
(Correction: The attribute for image tag is src, not href)
iii. <ul type="A"><li>Item 1</li></ul>
Ans: <ol type="A"><li>Item 1</li></ol> or <ul><li>Item 1</li></ul>
(Correction: Type "A" is for Ordered Lists <ol>, not Unordered Lists <ul>)
21. With reference to mobile technologies, briefly explain the following:
i. SMS
Ans: Short Message Service: A text messaging service component of most telephone, Internet, and mobile device systems.
ii. 3G
Ans: Third Generation: Mobile technology that introduced faster data transmission speeds allowing for video calling and mobile internet access.
iii. 5G
Ans: Fifth Generation: The latest generation of cellular mobile communications, offering ultra-low latency, massive connectivity for IoT, and significantly faster download speeds.
22. A. i. Write the HTML code to embed a video file named documentary.mp4 into a webpage. The video should have a width of 400 pixels and a height of 300 pixels. It should display playback controls.
Ans: <video width="400" height="300" controls>
<source src="documentary.mp4" type="video/mp4">
</video>
ii. Which attribute of the <font> tag is used to specify the font family?
Ans: face; Example: <font face="Arial">This is Arial font.</font>
OR
B. Write the HTML code to create a table with 2 rows and 2 columns and a border of 2. The first row should be the table header containing Roll No and Name, and the second row should contain the values 1 and Rahul respectively.
Ans: <table border="2">
<tr>
<th>Roll No</th>
<th>Name</th>
</tr>
<tr>
<td>1</td>
<td>Rahul</td>
</tr>
</table>
23. A. Write the HTML code to display the following statements on a webpage:
i. The chemical formula for Sulfuric Acid is H₂SO₄.
Ans: H<sub>2</sub>SO<sub>4</sub>
ii. The Pythagorean theorem is a² + b² = c².
Ans: a<sup>2</sup> + b<sup>2</sup> = c<sup>2</sup>
iii. The coordinates are represented as (X₁, Y₁).
Ans: (X<sub>1</sub>, Y<sub>1</sub>)
SECTION D - (24 to 24) 1X4 = 4 Marks
24. A. Write the complete HTML code to design a webpage with the following specifications:

- The title of the webpage should be "Healthy Living".
- Background color of the page should be "LightGreen".
- The main heading "Benefits of Yoga" should be in color "Blue".
- The paragraph describing yoga (as shown above) with font size "5".
- An unordered list listing three benefits: "Flexibility", "Strength", "Peace".
Ans: <html>
<head>
<title>Healthy Living</title>
</head>
<body bgcolor="LightGreen">
<center><h1 style="color:blue;">Benefits of Yoga</h1></center>
<p><font size="5">Yoga is a practice that connects the body, breath, and
mind.</font>
</p>
<ul>
<li>Flexibility</li>
<li>Strength</li>
<li>Peace</li>
</ul>
</body>
</html>
OR
B. Write the complete HTML code to design a "Feedback Form" as shown here, according to the specifications given below:

- Background Color: The page background should be "Pink".
- Heading: "Customer Feedback" in the largest heading tag, center-aligned.
- Form Elements:
- Name: A Text box to accept the user's name.
- Service Rating: Two Radio buttons with labels "Good" and "Bad".
- City: A List box, showing four city names.
Ans: <html>
<body bgcolor="Pink">
<h1>Customer Feedback</h1>
<form>
Name: <input type="text" name="name"><br><br>
Service Rating: <input type="radio" name="rating" value="good"> Good
<input type="radio" name="rating" value="bad"> Bad <br><br>
City: <br><select size=4>
<option>Agra</option>
<option>New Delhi</option>
<option>Jaipur</option>
<option>Noida</option>
</select><br><br>
</form>
</body>
</html>
SECTION E - (25 to 26) 2X4 = 8 Marks
25. Rohan receives an email informing him that he has won a ₹1 Crore lottery prize. The email instructs him to click on a link and enter his bank details, including his account number, password, and OTP, in order to claim the reward. Just as Rohan is about to click the link, his sister intervenes and warns him.
i. Which type of online fraud is being attempted in this situation?
Ans: E-commerce Fraud
ii. Why do you think the attacker requested the OTP?
Ans: To gain unauthorized access by bypassing security checks
iii. Mention one precaution that can help prevent such fraud attempts.
Ans: Never share passwords or OTPs with anyone
iv. State one visual clue that usually indicates a fraudulent website or email.
Ans: A suspicious or incorrect email address or spelling mistakes
26 Maya is a talented software developer who has created a new photo-editing application. She wants to share her software with the public so that other developers can learn from her code and improve upon it. However, she also wants to ensure that she receives credit as the original creator and that no one can claim her work as their own or sell it without her permission.
Based on the above information, answer the following questions:
i. Maya decides to release the software under a license that allows anyone to view, modify, and distribute the source code freely. What type of software is this called?
Ans: Open Source Software (OSS) / Free and Open Source Software (FOSS)
ii. Which Intellectual Property Right (IPR) automatically protects Maya's original code from being copied or claimed by others without her permission?
Ans: Copyright
iii. If Maya wants to prevent others from using her software’s unique name or logo to sell fake versions of her app, which form of protection should she register for?
Ans: Trademark
iv. A competitor downloads Maya's code, removes her name, and sells it as their own product without making any changes. What is this unethical act called?