How to make html execute entity symbol as html tag?
Page 1 of 1
How to make html execute entity symbol as html tag?
Hi,I'm just doing some experiment.
I have an html file.
In my first example I wrote
- Code: Select all
<b>BOLD</b>
when I open this file using Firefox it execute successfully.
The word BOLD become 'bold'.
Now in my second example, I changed all above symbol to html entity code.
It become like this
- Code: Select all
<b>BOLD</b>
however when I open this using same browser, it didn't execute like the first example.
It appear EXACTLY like this
- Code: Select all
<b>BOLD</b>
My question is:
how to get the result like my first example using the code in my second example? (the word BOLD become 'bold')
TQ.
Re: How to make html execute entity symbol as html tag?
Hi akvUsername,I'm not exactly sure why you would want to use entities to do this. Really the main reason someone would do this would be to purposely show the code (like in a HTML tutorial).
--
~Chris
~Chris
Re: How to make html execute entity symbol as html tag?
the creation purpose of html entity code is to show the special characters to viewer and make then unelectable that why html entity code build and its not possible to achieve what you are trying kill the purpose it is made for.Page 1 of 1