Web Page Designing 312004 Practical No.7 Use of Special characters in Web Page
In this blog post, we are going to perform Web Page Designing 312004 subject practical no 7 with the title Use of Special Characters in Web Page. Some special characters in HTML code help to show certain symbols or letters that are not on a regular keyboard. These characters are used to make text look special or different in paragraphs.
Some symbols like math, technical, and currency symbols are not on a regular keyboard. You can add these symbols to a webpage using their special names or numbers.
Character | Entity Number | Entity Name | Description |
“ | “ | “ | quotation mark |
. | ‘ | ‘ | apostrophe |
& | & | & | ampersand |
< | < | < | less-than |
> | > | > | greater-than |
© | © | © | copyright |
® | ® | ® | registered trademark |
← | ← | left arrow | |
→ | → | right arrow |
Exercises
1. Execute the following HTML code and attach the output.
<html><body><p>I will display ∃</p><p>I will display ∅</p><p>I will display ∑ </p><p>I will display ↓</p><p><b>This text is bold</b></p></body></html>
Output:
2. Write HTML code to display any 5 mathematical symbols on a web page.
Answer:
<html><head><title>Mathematical Symbols</title></head><body><h1>Mathematical Symbols</h1><p>Here are some mathematical symbols:</p><ul><li>Pi (π) – π</li><li>Infinity (∞) – ∞</li><li>Square Root (√) – √</li><li>Sigma (Σ) – Σ</li><li>Integral (∫) – ∫</li></ul></body></html>
Output:
1. Write the entity number and entity name to insert a copyright symbol on a browser page?
Answer:
- Entity Number: ©
- Entity Name: ©
2. What is the entity number and entity name for the INDIAN RUPEE SIGN?
Answer:
Entity Number: ₹
Conclusion
We successfully perform Web Page Designing 312004 Practical No.7 in which we learn how to Use Special characters on Web Pages.