Well the reason is quite justifiable. Had the text editor (can be anything notepad, wordpad or normal blog text editors etc..) allowed you to see this tag, then there would not have been an output for your site. All you would see would be your html tags and not the site you designed with the html tags.
Under normal scenarios, you generally don't need to display any html tags. However, if you wanna write some comments or solution to some html problems in blogs or forums, you need to take good care of it. The solution is simple, but the process is lengthy.
Solution: Use ASCII equivalent of html symbols.
Say for typing "<" you need to enter the ASCII equivalent of it: <
To type <center>, all you need to do is to type <center> in the text editor.
You might be wondering how i typed the above text. The answer is quite simple.
I typed "& amp;#60;center& amp;#62;"(without any space) for the second center tag.
Look below for the ASCII equivalent values of the html tags:

No comments:
Post a Comment