Hi there, Welcome to the another part of PROGRAMMING IN COMPUTER (HTML MID-LEVEL) PART - #4. In this part we will se about Character Entities in HTML and Syntax of these character entities in HTML programming/codes.
What are CHARACTER ENTITIES in HTML? Character Entities are the special signs/functions/symbols used in HTML to display any symbol or sign and run any function on the webpage.
NOTE:- Entity names in HTML are case sensitive, and they are Empty Tag which does not need to close but Some Entity Characters Need To be Closed.
Eg: < > is a character entity.
There many types of character entities in HTML :-
< > stands for Non-Breaking Space in HTML. It is a character entity in HTML which is used to give breaking spaces in HTML webpage. To use breaking between words or sentences just write < > in HTML program. Example: This is an < > < > breaking space.
Result: This is an breaking spaces. (In HTML webpage)
NOTE:- Spacing in the given example may differ in webpage of HTML program. This is just shown for an example.
<>> stands for Greater Than symbol in HTML. It is a character entity in HTML which is used to give greater than sign (>) in HTML webpage. To use it just write <>> where you want to give the sign.Example: 100 <>> 70.
Result: 100 > 70 (In HTML webpage).
<<> stands for Less Than symbol in HTML. It is a character entity in HTML which is used to give less than sign (<) in HTML webpage. To use it just write <<> where you want to give the sign. Example: 100 <<> 70.
Result: 100 < 70 (In HTML webpage).
<&> stands for ampersand in HTML. It is a character entity in HTML which is used to give ampersand sign (&) in HTML webpage. To use it just write <&> where you want to give the sign.Example: This is an ampersand sign:- <&>
Result: This is an ampersand sign:- & (In HTML webpage).
- <&apos> (') Single Quotation Mark
<'> stands for Quotation Mark in HTML. It is a character entity in HTML which is used to give single quotation sign (&) in HTML webpage. To use it just write <'> where you want to give the sign.Example: This is an Text written in <'> Single Quotation Mark </'>.
Result: This is an Text written in 'Single Quotation Mark'.(In HTML webpage).
- <"> (") Double Quotation Mark
<"> stands for Double Quotation Mark in HTML. It is a character entity in HTML which is used to give double quotation sign (&) in HTML webpage. To use it just write <"> where you want to give the sign.Example: This is an Text written in <"> Single Quotation Mark </">.
Result: This is an Text written in 'Double Quotation Mark'.(In HTML webpage).
<¢> stands for (¢) cent mark in HTML. It is a character entity in HTML which is used to give cent mark (¢) in HTML webpage. To use it just write <¢> where you want to give the sign.
Example: This is an cent mark :- <¢>.
Result: This is an cent mark:- ¢.
<£> entity gives Pound Mark (£) in HTML. It is a character entity in HTML which is used to give pound sign (£) in HTML webpage. To use it just write <£> where you want to give the sign.Example: This is a sign of Pound:- <£>.
Result: This is a sign of Pound:- £.
<¥> entity gives Yen Mark (¥) in HTML. It is a character entity in HTML which is used to give Yen sign (¥) in HTML webpage. To use it just write <¥> where you want to give the sign.
Example: This is a sign of Yen:- <¥>.
Result: This is a sign of Yen:- ¥.
<€> entity gives Euro Mark (€) in HTML. It is a character entity in HTML which is used to give euro sign (€) in HTML webpage. To use it just write <€> where you want to give the sign.
Example: This is a sign of Euro:- <€>.
Result: This is a sign of Euro:- €.
- <₹> Indian Rupee Sign (₹)
<₹> entity gives Rupee Mark (₹) in HTML. It is a character entity in HTML which is used to give rupee sign (₹) in HTML webpage. To use it just write <₹> where you want to give the sign.
Example: This is a sign of Indian Rupee:- <₹>.
Result: This is a sign of Indian Rupee:- ₹.
<©> entity gives Copyright Mark (©) in HTML. It is a character entity in HTML which is used to give Copyright sign (©) in HTML webpage. To use it just write <©> where you want to give the sign.
Example: Techzlovr has a copyright<©> .
Result: Techzlovr has a copyright© .
- <®> Registered Trademark (®)
<®> entity gives Registered Mark (£) in HTML. It is a character entity in HTML which is used to give Registered Trademark sign (®) in HTML webpage. To use it just write <®> where you want to give the sign.
Example: This is a Registered Trademark Sign:- <®> .
Result: This is a Registered Trademark Sign:- ® .
So, with this our all basic HTML 5 Entities are finished.
THANKYOU !
You can now SUBSCRIBE us for more information. Just click on ALLOW Button which will pop-up on the screen. SUBSCRIBE NOW! for more information and Get Notified when the new Articles come.
0 Comments