Mobile WebDesign File Format?

Discussion in 'HTML & Website Design' started by WebDizzy777, Jun 6, 2013.

  1. #1
    I have done many regular websites, but am building my first mobile page using the IUI-js interface because it is pretty simple and easy to understand. A regular website would just be saved as index.html and then uploaded to my hosting service, however what file format would I save my mobile page up for uploading to my hosing service?

    The computer knows to go to the homepage because it is saved as index.html.... but how would a mobile phone or tablet know to go to my mobile html and not my regular index? Hopefully this is a simple question to answer such as the correct file format.... Thanks.

    P.S.

    I know mobile websites are m.domain.com With the difference being the m. so does that have anything to do with it?
     
    WebDizzy777, Jun 6, 2013 IP
  2. Devtard

    Devtard Notable Member

    Messages:
    850
    Likes Received:
    133
    Best Answers:
    4
    Trophy Points:
    220
    #2
    On the main website there is just a simple redirection to the mobile version (m.example.com). There is either a JS code that check the screen width or the redirection is based on the user-agent (each browser provides information about itself and the operating system it is running on).
     
    Devtard, Jun 7, 2013 IP
  3. jamjar919

    jamjar919 Well-Known Member

    Messages:
    332
    Likes Received:
    7
    Best Answers:
    5
    Trophy Points:
    180
    #3
    jamjar919, Jun 8, 2013 IP