Markup Example
-
What should i do to get the output to be like this markup. Thanks
<div data-background-image=”” class=”banner-image” style=”background-image: url(https://localhost/example/image_2000x210.jpg);”>
<div data-alt=”Image” data-src=”https://localhost/example/image_480x210.jpg”></div>
<div data-media=”(min-width: 481px)” data-alt=”image” data-src=”https://localhost/example/image_1300x210″></div>
<div data-media=”(min-width: 1280px)” data-alt=”image” data-src=”https://localhost/example/image_2000x210.jpg”></div>
<!–[if (lte IE 8) & (!IEMobile)]>
<div data-src=”https://localhost/example/image_2000x210.jpg” data-alt=”image”></div>
<![endif]–>
</div>
- The topic ‘Markup Example’ is closed to new replies.