# MEDIA QUERIES to Load specific HTML file

**URL:** <https://forum.kirupa.com/t/media-queries-to-load-specific-html-file/329182>\
**Category:** web dev\
**Created:** [July 29, 2012, 12:14am UTC](https://forum.kirupa.com/t/media-queries-to-load-specific-html-file/329182 "2012-07-29T00:14:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xFlashStudentx](https://avatars.discourse-cdn.com/v4/letter/x/57b2e6/32.png) [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Post date:** [July 29, 2012, 12:14am UTC](https://forum.kirupa.com/t/media-queries-to-load-specific-html-file/329182/1 "2012-07-29T00:14:22Z")

</div>

Hello. I’m looking for a short media query/JavaScript script that will tell the browser to load a specific html file depending on the device or the browser width. Any tutorials anyone can point me to? Thank you in advance.

FS
