Friday, 9 January 2015

How to stop parsing the HTML tags?

How to stop parsing the HTML tags?

There are couples Method to avoid the parsing of HTML tags, I used following two ways.


How to use XMP Tag for avoid HTML parsing, See Example
Method No 1

<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOZoBT5-0tL8iOdoHHiqqLgQxwtOtbtLHJp2MaanGJK2BhQOSjIh1FyTgN9uYuCam5kOfUN3NixaLcT7sf46MKGEn7p1PKXJpKG79jMtCZHH4xroHX9AzlQqC97Jbu54Q8pN_H4DLHE9jL/s1600/wordpress.jpg" />

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>



How to use script Tag for avoid HTML parsing, See Example
Method No 2

<script type="text/plain">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOZoBT5-0tL8iOdoHHiqqLgQxwtOtbtLHJp2MaanGJK2BhQOSjIh1FyTgN9uYuCam5kOfUN3NixaLcT7sf46MKGEn7p1PKXJpKG79jMtCZHH4xroHX9AzlQqC97Jbu54Q8pN_H4DLHE9jL/s1600/wordpress.jpg" />
<meta content='jX6W4C5R1HdrWqp91JMBxHzxqBM' name='alexaVerifyID'/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'></script>