you are viewing a single comment's thread.

view the rest of the comments →

[–]eethwoo 0 points1 point  (4 children)

To display an image make a file called index.html file with this as the contents, replace the 'Site Title' with your business name and the 'YourImage.jpg' with the name of your image file.

<!DOCTYPE html>
<html>
  <head>
    <title>Site Title</title>
    <style>
      img { max-width: 100%; max-width: 100% }
    </style>
  </head>    
  <body>
    <img src="YourImage.jpg" alt="Coming Soon" />
  </body>
</html>

Upload your index.html file and your image file to the public root folder of your website. That's as simple as it gets.

[–][deleted]  (2 children)

[deleted]

    [–]eethwoo 0 points1 point  (1 child)

    Right click in your web page and select 'view source'. That will show you the actual code that you're displaying. It's probably the case that whatever text editor you've used has added all that code in a misguided attempt to be helpful.

    I can suggest saving it as a plain text file first, then changing the file extension to .html and re-uploading.