Computer Science, asked by sangheraanoop937, 1 month ago

How we can display <,>and & Symbol on web page ? Give example​

Answers

Answered by anindyaadhikari13
3

Answer:

In general, we cannot display the symbols <, > and &.

To display these symbols, we have to use character entities.

They are as follows -

\boxed{\begin{array}{c|c|c}\tt \underline{Symbol}:&amp;\tt \underline{Entity\:\:N{a}me}: &amp;\tt \underline{Entity\:\: Number}:\\ \tt &gt;&amp;\tt \&amp; gt ; &amp;\tt \&amp;\#62;\\ \tt &lt;&amp;\tt\&amp; lt ;&amp;\tt \&amp;\#60;\\ \tt \&amp;&amp;\tt \&amp; amp;&amp;\tt \&amp;\#38;\end{array}}

We can use entity name as well as entity number to display these symbols.

See attachment for output.

Attachments:
Similar questions