locked
Query regarding conditional comments in HTML RRS feed

  • Question

  • User-389597101 posted

    Hi 

    I am using following code in HTML file

        <![if IE]> <p>
            This is IE again
        </p><![endif]>
    

    But the code is shown in chrome also. May I know if something is wrong with the code?

    Regards

    Karan Gupta

    Friday, January 13, 2017 7:14 AM

Answers

  • User-1393433442 posted

    Hi,

    According your question, You try this code,

    <!--[if IE 6]>
    <p> Special instructions for IE here </p>
    <![endif]-->

    Thanks,

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 13, 2017 12:20 PM