HTML - Entities

In HTML some characters are reserved,if you use the less than < or greater than > signs in your text document but browser might mix them with tags.the following simple syntax of entitie.

Syntax


&entity-name; or &#entity-number;
							

Example


<html>
<head>
	<title>Paragraphs>/title>
</head>
<body>
<p>< - Less Than</p>
<p>> - Greater Than</p>
</body>
</html>
							

HTML Character Entities


Result

Meaning

Entitie Name

Entitie Number

<

Less Than

&lt;

&#60;

>

Greater Than

&gt;

&#62;

&

Ampersand

&amp;

&#38;

"

Double Quotation Mark

&quot;

&#34;

'

Single Quotation Mark

&apos;

&#39;

¢

Cent

&cent;

&#162;

£

Pound

&pound;

&#163;

¥

Yen

&yen;

&#165;

©

Copyright

&copy;

&#169;

®

Registered Trademark

&reg;

&#174;

Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit

You may also like this!