HTML: Making my First Web Page!

Making your first Web Page!


    In our Previous post, I said, you are going to make your own web page on your own! What's more? Let's Get Started, ( if you don't know what you need to make your project, check this page before you countinue )

Getting Started:


  1. Open your Text Editor 
  2. Create a New File ( CTRL + N )
  3. Make a New Folder named "html"
  4. Save That file as your_file_name.html in html folder [ if your using default notepad, remember change from txt to all files in drop down bar ! ]
  5.  Start Coding!
     ( note: The Pics are From Quoda For Android )

    

Now  Start Writing your code!

As I defined in previous post, There are some Basic And compulsory HTML Tags. Now let's write the following, 

  1. Open <html> ( note if you used any IDEs like Visual Studio Code or Web Code, Your Tags will be auto closed, don't mind it )
  2. Open <head>
  3. Add <title> Tag Next to the <head> Tag and Add your Title Into it and then close the <title> tag by </title>
  4. Close <head> tag by </head>
  5. Open <body>
  6. Open new <h1> ( you will learn what it will do, soon)
  7. Write hello world and then close <h1> by </h1>
  8. Close <body> tag by </body>
  9. Close <html> tag  
  10. You are Done!
Your code should look something like this:


If you did something wrong, No worries! Correct it now!

So let's see how to view your project.

In PC or Desktop:


  1. Open My Computer ( File Explorer )
  2. Find html Folder
  3. You will see your_file_name.html, if not probably you didn't saved your file there. Try saving it again
  4. Click on it and select open
  5. Your file should be opened on your web browser with the output ( if not, probably the format is incorrect, the file name must end with .html )

In Smartphone:

   There are two methods, I am showing one which will work for every android and iOS versions!

  1. Use the following Thing, in your browser  url field: file:///storage/emulated/0/html/your_file_name.html 
  2. You are Done! You should see the output, if you saw a blank white space, means there is an error in your code!
Your output will be something like this


Wow! You just made your own code! You placed your first step in the your way to be a Front End Web Developer! You did it!!

This is how you will make a basic web page. We will learn about advanced stuffs soon!

If you got messed up with something,  No worries! Feel free ask your queries in comments section! 

Stay Tuned♡!


Comments

Popular posts from this blog

Introduction To Python

HTML: Text Tags: Part 1

HTML: Anatomy of Tags