
I now have this file, that contains my html code.
On 000webhost, this pops up.

Should I replace default.php with my index.php file?
Edit: I'm having problems using FireFTP to connect to the FTP thinggy
This is the default.php file that 000webhost gives you every time you create a new account/site. Just go into your FTP manager and delete default.php.
Plus why are you using the .php suffix when you can use .html? Not like it matters. Any file with index as the name will be the default page it'll come up with in that directory.
Also, for better practice, begin to use <div> tags which will be useful for you when you begin to use some CSS.
code | Screenshot |
<!doctype html> <html> <head> <title>Johnny Blockhead's Website</title> </head> <body bgcolor="#F8F8F8"> <h2>Welcome, this webpage is about Johnny Blockhead!</h2> <img src="http://forum.blockland.us/avatarUpload/avatar_33517.png"> <p>Welcome, this webpage is about Johnny Blockhead! I am also known as Mr. Scruff Sushi. I am creating this webpage to expand and test my knowledge about html.</p> <p>Here are some things that you may catch me doing:</p> <ul> <li>Play Blockland and browse it's forums. The Blockland website can be found <a href="http://blockland.us">here</a> and the forums can be found <a href="http://forum.blockland.us">here.</a></li> <li>I also play Steam by the name of Johnny Blockhead. I often play things such as Garry's Mod and Portal 2.</li> <li>Have you ever wondered how boring it is to write lists? Yeah.</li> </ul> <h2>Contact Me</h2> <p>There are different ways to contact me. First of all, and probably slowest of all, is my email. It's mrscruffsushi@gmail.com. One of the fastest ways to contact me would to add me on steam; I use the username Johnny Blockhead. You can also personal-message me on the blockland forums, which is a medium-fast way to contact me. I use the username Johnny Blockhead there, also.</p> </body> </html> | Image:
 |
<!doctype html> <html> <head> <title>Johnny Blockhead's Website</title> </head> <body bgcolor="#F8F8F8"> <div style="margin:100px;"> <h2>Welcome, this webpage is about Johnny Blockhead!</h2> <img src="http://forum.blockland.us/avatarUpload/avatar_33517.png"> <p>Welcome, this webpage is about Johnny Blockhead! I am also known as Mr. Scruff Sushi. I am creating this webpage to expand and test my knowledge about html.</p> <p>Here are some things that you may catch me doing:</p> <ul> <li>Play Blockland and browse it's forums. The Blockland website can be found <a href="http://blockland.us">here</a> and the forums can be found <a href="http://forum.blockland.us">here.</a></li> <li>I also play Steam by the name of Johnny Blockhead. I often play things such as Garry's Mod and Portal 2.</li> <li>Have you ever wondered how boring it is to write lists? Yeah.</li> </ul> <h2>Contact Me</h2> <p>There are different ways to contact me. First of all, and probably slowest of all, is my email. It's mrscruffsushi@gmail.com. One of the fastest ways to contact me would to add me on steam; I use the username Johnny Blockhead. You can also personal-message me on the blockland forums, which is a medium-fast way to contact me. I use the username Johnny Blockhead there, also.</p> </div> </body> </html> | Image:
 |
Above is without a div tag, below is after.
Plus, I forgot a css element so I had to go to
w3schools to find it again.