Html
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40

Thread: Html

  1. #1

    Post Html

    Hi all. I am making a webpage and I can't get Internet explorer to open my html as an html document. I saved it as regular text with .html at the end. Whenever I open it IE just open the text document. If you think I messed up me code here it is. Note: the images are in the same directory as the code.

    <html>
    <head>
    <Title>Stoncrete Ltd. Stamped And Colored Concrete</title>
    </head>
    <body>
    <Table>
    <tr>
    <td>[img]blackfiller.gif[/img]</td>
    <td>[img]Stoncreteltd[/img]</td>
    </tr>
    <tr>
    <td><img src="Home.gif></td>
    <td>[img]drive_grass.jpg[/img]</td>
    </tr>
    <tr>
    <td>[img]gallery.gif[/img]</td>
    </tr>
    <tr>
    <td>[img]Products.gif[/img]</td>
    </tr>
    <tr>
    <td>[img]Faqs.gif[/img]</td>
    </tr>
    <tr>
    <td>[img]Aboutus.gif[/img]</td>
    </tr>
    <tr>
    <td>[img]ContactUs.gif[/img]</td>
    </tr>
    </table>
    </body>
    </html>

    Any Idea what my problem is?
    Thanks

    Ask Why?

    \"The most incomprehensible thing about the world, is that it is at all comprehensible\" -Albert Einstein

    Share on Google+

  2. #2

    Cool First things First

    What did you create the file in?? Did you save it as somename.html?? Make sure the file is not somename.html.txt!!

    The code you have is correct and you should not have a problem with it. You must either have it named incorrectly or something in your brower is not set correctly. Good luck!! If you need more help drop me a line.

    Bill
    Get your site Flashed Over!!! www.webflashover.com the only place where a flashover can occur and you still live through it.
    Share on Google+

  3. #3
    its saved as index.html.txt How do I get rid of the .txt?

    Ask Why?

    \"The most incomprehensible thing about the world, is that it is at all comprehensible\" -Albert Einstein

    Share on Google+

  4. #4

    Lightbulb Here is what you can do

    Well you can open it in note pad and when you choose to

    save as:
    Under the File name box is "Save File as" change this from text to All Files *.*

    Then type the name whatever.html and save.

    Or you can just as easy right click the image and rename it to whatever.html You can a message saying that it might be unstable but the file will still work.

    Let me know if you have any other problems
    Share on Google+

  5. #5
    Banned
    Join Date
    Jul 2001
    Posts
    264
    Hey Punk....Go to a command prompt and type:

    rename [path to file]\document.html.txt document.htm

    that will do the trick...
    Share on Google+

  6. #6

    Lightbulb That all depends

    The main program that does this is notepad meaning that the person is working in a windows environment. I am 98% sure of that.

    Experience is what tells me this and knowledge is what tells me this person is better off right clicking and renaming. Then again I could be totally wrong.
    Share on Google+

  7. #7
    Junior Member
    Join Date
    Aug 2001
    Posts
    14

    Post Dern default windows settings

    Your issue is as mentioned above, notepad will append .txt to any document created in notepad. When you look at the file it may or may not display the .txt extension. Open your my computer, select view menu, folder options, view tab, under Hidden files click Show all files radio button, deselect Hide file extensions for known file types.

    This should allow you to see the "real" extension of your files, then just right click the file and rename, remove the .txt from your .html.txt web files.
    Share on Google+

  8. #8
    Banned
    Join Date
    Jul 2001
    Posts
    71
    They solved your problem, but looking at that html hurt my eyes, format it differently like this...

    <table>
    <tr>
    <td></td>
    <td></td></tr>
    <tr>
    <td colspan=2></td></tr>
    </table>

    or like this....

    <table>
    <tr><td></td>
    <td></td></tr>
    </table>

    or some other way that you find easy to read.

    ..:Edit:..

    Oh, I'm a moron, this forum doesn't let you indent stuff, well that sucks..... I'm sure you get my point though
    Share on Google+

  9. #9
    Banned
    Join Date
    Jul 2001
    Posts
    264

    Re: That all depends

    Originally posted by FlashOveride
    The main program that does this is notepad meaning that the person is working in a windows environment. I am 98% sure of that.

    Experience is what tells me this and knowledge is what tells me this person is better off right clicking and renaming. Then again I could be totally wrong.

    Experience.......would tell you that what I posted [IS] a [WINDOWS ] command. Not only would it do the trick, it would also help him to understand the command shell a little better.

    Knowlege..........is learning the WHOLE environment not just "right clicking" and renaming.


    P.S. Chris.....Your HTML standards for syntax are no better than what punkis posted. heh. Kind of like the blind leading the blind.


    -Quad
    Share on Google+

  10. #10
    Banned
    Join Date
    Jul 2001
    Posts
    71

    Re: Re: That all depends

    Originally posted by NoNeckJoe
    P.S. Chris.....Your HTML standards for syntax are no better than what punkis posted. heh. Kind of like the blind leading the blind.
    They look very nice when indented properly and I find them very easy to read, but like I said, try it a couple different ways and see what you find easiest (and don't forget to put the width and height in the img and table tags, they'll load better)
    Share on Google+

Posting Permissions

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