invalid HTML rendering logic -


Almost all browsers use a certain amount of rebate to provide invalid HTML. For example, they are x & lt; Y as it was written x & amp; Lt; Y because it is "clear" to is not a part of an HTML tag, it is in the form of a literal character.

Where can I find that as a different "cleanup" module? One such module is x & lt; Y to x & amp; Lt; Try to see the source code for

.

Before HTML is organized:

  & lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt; Bu & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; X & lt; Y & lt; / Body & gt; & Lt; / Html & gt;  

Only one HTML after running through the clever mode:

   

Note that x to the x & amp; Lt; Y .

UPDATE

Depending on your comment, you should use systematically to clean your HTML. I believe that most common languages There are clean libraries that will clean up your HTML for you. If you are using PHP, then it is.

UPDATE

I saw that you said that you are using C #. You can also use well with C # Here I found something that I found I have not developed in C # and I have not tried to exclude it then YMMV:


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -