Results 1 to 3 of 3
  1. #1

    Member Since
    Mar 17, 2011
    Firefox, create a web page
    First time trying to make a web page. Here the content of my index.html file. When I open the file with firefox, the content of the file is displayed as a text file instead of a nice web page. Thank you for any tip. Michel

    <title>My personal website</title>
    <h1>My personal website</h1>

  2. #2

    louishen's Avatar
    Member Since
    Oct 22, 2007
    Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver
    Try giving it a doc type

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    Member of the Month September 2008 & August 2012 | Found advice useful? use the rep system

  3. #3

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Early 2015 13" rMBP
    It's good form to have a DOCTYPE declared (more here) so take louishen's advice but know that it's not necessary for the page to work. Simple question: did you save the page with the htm or html extension? If not, Firefox is probably reading it as plain text and is thus just presenting it.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. static web page on Web browser
    By milankamilya in forum Switcher Hangout
    Replies: 1
    Last Post: 09-20-2013, 05:50 AM
  2. How to create web forms - newbie
    By fudgewang in forum Web Design and Hosting
    Replies: 11
    Last Post: 07-13-2009, 10:22 AM
  3. Please help me debug page (just load a web page in windows IE)
    By giulio in forum Web Design and Hosting
    Replies: 6
    Last Post: 07-01-2007, 03:44 PM
  4. Firefox new page
    By fender1100 in forum macOS - Apps and Games
    Replies: 3
    Last Post: 12-28-2006, 11:05 PM

Posting Permissions

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