0% found this document useful (0 votes)
20 views4 pages

WBP Practical No7 Answers

The document outlines practical exercises for using special characters in web page design, specifically focusing on HTML code to display mathematical symbols and other entities. It includes examples of HTML code for various symbols, such as copyright and Indian Rupee signs, along with their corresponding entity numbers and names. The conclusion emphasizes the importance of special characters for creating visually appealing and user-friendly web pages.

Uploaded by

ARYAN MOHADE
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)
20 views4 pages

WBP Practical No7 Answers

The document outlines practical exercises for using special characters in web page design, specifically focusing on HTML code to display mathematical symbols and other entities. It includes examples of HTML code for various symbols, such as copyright and Indian Rupee signs, along with their corresponding entity numbers and names. The conclusion emphasizes the importance of special characters for creating visually appealing and user-friendly web pages.

Uploaded by

ARYAN MOHADE
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/ 4

🌟 Diplomatech Academy 🌟

Manual Solutions and outputs


WEB PAGE DESIGNING (312004)
-Mohade Sir ©
Practical No.7: Use of Special characters in Web Page

r
VII Exercise

Si
1.Execute following HTML code and attached the output.
<html>
<body>
<p>I will display &#8707;</p>
<p>I will display &empty;</p>
de
<p>I will display &sum; </p>
<p>I will display &#8595;</p>
<p><b>This text is bold</b></p>
</body>
a
</html>

2. Write HTML code to display any 5 mathematical symbols in a web page.


oh

Ans.
<!DOCTYPE html>
<html lang="en">
<head>
M

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mathematical Symbols</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin-top: 50px;
}
.symbol {
font-size: 24px;
margin: 10px 0;
}
</style>
</head>
<body>
<h1>Mathematical Symbols</h1>

r
<div class="symbol">&plus; (Plus)</div>

Si
<div class="symbol">&minus; (Minus)</div>
<div class="symbol">&times; (Multiplication)</div>
<div class="symbol">&divide; (Division)</div>
<div class="symbol">&radic; (Square Root)</div>
</body>
</html>
a de
Answer in output
oh

VIII HTML Code


Write HTML code for above exercise on the blank pages attached at the end
of practical.
M

XI Conclusion
Ans.​
We have successfully implemented the use of special characters in a web page. By
utilizing HTML entities, we displayed various special symbols, such as
mathematical operators, currency symbols, and other unique characters. This
practical demonstrated the importance of using special characters for creating
user-friendly and visually appealing web pages.
It also highlighted how HTML provides a way to represent characters that are not
available on the keyboard or that have specific meanings in HTML syntax.

XII Practical Related Questions Note: Below given are few sample questions
for reference. Teachers must design more such questions so as to ensure the
achievement of identified

r
CO.
1. Write entity number and entity name to insert a copyright symbol on a

Si
browser page?

Ans.

To insert a copyright symbol (©) on a browser page, you can use:


de
1.​ Entity Number: &#169;
2.​ Entity Name: &copy;

Example in HTML:
a
<!DOCTYPE html>
oh

<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Copyright Symbol</title>
M

</head>
<body>
<p>Using Entity Number: &#169; 2025 Your Company</p>
<p>Using Entity Name: &copy; 2025 Your Company</p>
</body>
</html>
Both methods will display the copyright symbol © on the browser.

2. What is the entity number and entity name for INDIAN RUPEE SIGN?
Ans,

The Indian Rupee Sign (₹) can be inserted in a browser using the following:

1.​ Entity Number: &#8377;

r
2.​ Entity Name: &rupee; (Note: Not supported in all browsers, so &#8377;

Si
is preferred.)

Example in HTML:
<!DOCTYPE html>
<html lang="en">
<head>
de
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Indian Rupee Sign</title>
a
</head>
<body>
<p>Using Entity Number: &#8377; 1000</p>
oh

<p>Using Entity Name: &rupee; 1000 (may not work in all browsers)</p>
</body>
</html>
M

The &#8377; entity number is widely supported and is the recommended way to
display the Indian Rupee sign.

You might also like