SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member jalagamkalyan's Avatar
    Join Date
    Oct 2010
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to run the html files in local?

    How to run the html files in local and give me the sample path(url)?
    Last edited by ralph.m; Oct 7, 2010 at 08:35. Reason: removed unnecessary link.

  2. #2
    SitePoint Wizard donboe's Avatar
    Join Date
    Jun 2010
    Location
    Netherlands
    Posts
    2,097
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi. Welcome to the Sitepoint forums. Do you mean that you want to test your site locally?

  3. #3
    SitePoint Member jalagamkalyan's Avatar
    Join Date
    Oct 2010
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes i want to run locally can you send the sample url

  4. #4
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,496
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    To 'run' html files locally, all you have to do is open them with your browser

  5. #5
    SitePoint Wizard donboe's Avatar
    Join Date
    Jun 2010
    Location
    Netherlands
    Posts
    2,097
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by guido2004 View Post
    To 'run' html files locally, all you have to do is open them with your browser
    Just like guido2004 said run them locally and use relative paths. So instead of the entire link http://www.yoursite.com/contact.html you use contact.html

  6. #6
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,888
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by jalagamkalyan View Post
    Yes i want to run locally can you send the sample url
    If the files are in c:\documents\website\ then you need need to point your browser to file://localhost/c:/documents/website/. Remember that any spaces in folder and file names will need to be replaced with %20.

    Alternatively, open up Windows Explorer, find the folder where you have the files saved and double-click on the file you want.

    (Actually, most browsers will let you type in the format c:\documents\website\ and will automatically convert it to the right URL themselves)

  7. #7
    SitePoint Member
    Join Date
    Jun 2010
    Location
    Chandigarh, India
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For Html files, you simple need to click on them. Did you try that?

    For other coding platforms like Php, you have to set up their servers.
    Website Design & Development at ILLUMINZ www.ILLUMINZ.com
    Facebook: http://goo.gl/QTtK


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •