使用HTML标记google chrome

使用HTML标记google chrome,html,firefox,browser,targeting,Html,Firefox,Browser,Targeting,我想用HTML攻击谷歌浏览器、火狐和opera 我有Internet Explorer的代码 <!--[if IE ]> test <![endif]--> 等待好答案 感谢firefox: <!if firefox> test <![endif]> 测试 铬: <!if chrome> test <![endif]> 测试 歌剧院 测试 请分享您尝试过的内容,而不是等待解决方案提交给

我想用HTML攻击谷歌浏览器、火狐和opera

我有Internet Explorer的代码

<!--[if IE ]> test <![endif]-->  

等待好答案

感谢firefox:

<!if firefox>
    test
<![endif]>

测试
铬:

<!if chrome>
    test
<![endif]>

测试
歌剧院


测试

请分享您尝试过的内容,而不是等待解决方案提交给您。感谢您的帮助,但无法工作(请参阅链接:唯一的其他方法是通过javascript/php。php:
$agent=$\u SERVER['HTTP\u USER\u agent'];
然后检查它是什么浏览器。
<!if opera>
    test
<![endif]>