B2B Articles - Sep 21, 2009 1:55:41 PM
Conditional comments work in Internet Explorer and on Windows only. For this reason, you can create special instructions to be executed by Internet Explorer only ( on Windows ). Conditional comments are for Internet Explorer 5 and higher.
The basic structure of a conditional comment is the same as an HTML comment (<!-- -->). When another browser sees such comments, they will simply ignore them.
This code snippet will target Internet Explorer 6:
<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->
This code snippet will target Internet Explorer:
<!--[if IE 7]>
According to the conditional comment this is Internet Explorer 7<br />
<![endif]-->
This will target the browser: Internet Explorer and all versions above 5:
<!--[if IE]>
According to the conditional comment this is Internet Explorer<br />
<![endif]-->
Tel 212-993-7809
Ironpaper ®
10 East 33rd Street
6th Floor
New York, NY 10016
Map
New York Agency
B2B marketing
B2B Content
Demand generation agency
Digital Marketing
Account-Based Marketing
ABM for SaaS
ABM for energy
Demand generation campaigns
Industry marketing
Privacy Policy
First-party data marketing
SaaS marketing
SEO for B2B
IoT Marketing
B2B Marketing for IoT Companies
HubSpot Agency
B2B Product Marketing
B2B Software Marketing
IoT go-to-market strategy
IT Marketing
HubSpot for ABM
ABM for AI companies
Technology Marketing
Marketing for IT Companies
ABM Campaigns
B2B lead generation
B2B Marketing and Growth Agency.
Grow your B2B business boldly. Ironpaper is a B2B marketing agency. We build growth engines for marketing and sales success. We drive demand generation campaigns, ABM programs, B2B content, sales enablement, qualified leads, and B2B marketing efforts.