Basic HTML question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pete
    Confirmed User
    • Jan 2001
    • 6617

    #1

    Basic HTML question

    why is it that when I upload this html to a server it shows up as text and not an html page

    <!DOCTYPE html>
    <html>
    <head>
    <title>Heading Example</title>
    </head>
    <body>
    <h1>This is heading 1</h1>
    <h2>This is heading 2</h2>
    <h3>This is heading 3</h3>
    <h4>This is heading 4</h4>
    <h5>This is heading 5</h5>
    <h6>This is heading 6</h6>
    </body>
    </html>
    Evoke Electronics
  • EddyTheDog
    Just Doing My Own Thing
    • Jan 2011
    • 25433

    #2
    Works fine...

    What did you name the file including extension?

    Comment

    • shake
      frc
      • Jul 2003
      • 4663

      #3
      It's a server config issue. The browser isn't being told it's an html file. Try different file extensions or you'll need to config the server to tell the browser the correct mime type.
      Crazy fast VPS for $10 a month. Try with $20 free credit

      Comment

      • Smack dat
        So Fucking Banned
        • Jul 2016
        • 4613

        #4
        you have uploaded it as a txt file.

        Comment

        • Pete
          Confirmed User
          • Jan 2001
          • 6617

          #5
          index.htm
          Evoke Electronics

          Comment

          • LouiseLloyd
            SO FUCKING SCAMMED
            • Mar 2010
            • 1429

            #6
            Rename the file to .html

            Comment

            • EddyTheDog
              Just Doing My Own Thing
              • Jan 2011
              • 25433

              #7
              Originally posted by Pete
              index.htm
              Try opening locally on your PC without a server - If that does not work then I would guess you have named it something like index.htm.txt - I have done it lots of times when editing with NoteBook...

              Comment

              • Barry-xlovecam
                It's 42
                • Jun 2010
                • 18083

                #8
                I can't tell without loading the file ...
                If have a server question why is there no URL?

                Comment

                • NatalieK
                  Natalie K
                  • Apr 2010
                  • 20110

                  #9
                  Originally posted by Pete
                  index.htm
                  Originally posted by LouiseLloyd
                  Rename the file to .html
                  either of these should show as web page & not .txt

                  must be server issue
                  My official site / Custom vids / Make money links / First time girls
                  Email: [email protected] - "Converting traffic into income since 2005"

                  Comment

                  • TheDynasty
                    See Signature
                    • Apr 2016
                    • 5882

                    #10
                    Rename notepad file index (.html) when you save to your desktop or folder
                    Try out WP-SCRIPT The Best Tube Script

                    Comment

                    • RyuLion
                      • Mar 2003
                      • 32369

                      #11
                      Originally posted by TheDynasty
                      Rename notepad file index (.html) when you save to your desktop or folder

                      Adult Biz Consultant A tech head since 1995
                      Affiliate Support: Chaturbate | CCBill Live

                      Comment

                      • MFCT
                        Confirmed User
                        • Jan 2015
                        • 1489

                        #12
                        If its something like Wordpress, your HTML belongs in the "text" tab of the editor, not the "visual" tab.
                        Keeping you abreast of the teens that get undressed.
                        Girls By Location - Couples By Location - Guys By Location - Trans By Location

                        Comment

                        • Colmike9
                          (>^_^)b
                          • Dec 2011
                          • 7230

                          #13
                          It's probably the file extension.
                          But another random thought: Did you maybe type that as text instead of code in a WYSIWYG editor?..
                          Join the BEST cam affiliate program on the internet!
                          I've referred over $1.7mil in spending this past year, you should join in.
                          I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                          Comment

                          • redwhiteandblue
                            Bollocks
                            • Jun 2007
                            • 2793

                            #14
                            What happens if you try it in a different browser?
                            Interserver unmanaged AMD Ryzen servers from $73.00

                            Comment

                            • Pete
                              Confirmed User
                              • Jan 2001
                              • 6617

                              #15
                              Got it figured out. My editor added some fucked up code that I didn't see. Rookie mistake I guess.
                              Evoke Electronics

                              Comment

                              • RyuLion
                                • Mar 2003
                                • 32369

                                #16
                                Originally posted by Pete
                                Got it figured out. My editor added some fucked up code that I didn't see. Rookie mistake I guess.
                                Happens to the best of us..

                                Adult Biz Consultant A tech head since 1995
                                Affiliate Support: Chaturbate | CCBill Live

                                Comment

                                • Pete
                                  Confirmed User
                                  • Jan 2001
                                  • 6617

                                  #17
                                  Its back to Dream Weaver!
                                  Evoke Electronics

                                  Comment

                                  • xXXtesy10
                                    Fakecoin Investor
                                    • Jul 2012
                                    • 7127

                                    #18
                                    you know dreamweaver but no understand basic html? holy fuck you drunk?
                                    WARNING: Stay Away From Marlboroack aka aka Brandon Ackerman
                                    http://gfy.com/21169705-post8.html
                                    Donny Long is Felon, Stalker, Scammer & Coward
                                    http://www.ripoffreport.com/reports/...lon-int-761244

                                    Comment

                                    Working...