Making Html with Notepad
How to make So far we only know the codes and results in the browser. Now we will learn how to To create a web page like the example above, do the following: Open a text editor (like Notepad or SimpleText) Create a page (blank) new (ie "File> New ...") Copy the code from "Sample 2" and paste it into your blank text files (or re-type if you like) Save the file as "index.html" Congratulations you have just created your first web page! You can go ahead and see your new web page on your browser. To do this, you can double-click on the file. If this does not work, try opening a new browser window, then drag files onto it. " Adding another page Adding another web page as easily when we made the first page. In fact, you can make a copy first if you want, then modify as you see fit. For example, you can create a "hyperlink" so it will be linked to other pages. When the link is clicked, another page will open. So, let's create another web page. On the web page, we will have a hyperlink that leads to our first web page. To do this, our code would look like this: Example 3: <head> <title> Hello World! </ title> </ Head> <body> <h1> my second page </ h1> <p> Welcome to my second web page </ p> <p> Here <a href="index.html"> my first page </ a> </ p> </ Body> </ Html> </ html> HTML page above would look like this in the browser:
We call this the page_2nd.html So, if you've forgotten how to do this, here are the steps to create your second web page: Open a text editor (like Notepad or SimpleText) Create a new page (ie "File> New ...") Copy the code from "Sample 3" and paste it into your blank text files (or re-type if you like) Save the file as "page_2nd.html" (save to the same directory as your previous file) And so it was our second page, do not be afraid to experiment yourself
How to make So far we only know the codes and results in the browser. Now we will learn how to To create a web page like the example above, do the following: Open a text editor (like Notepad or SimpleText) Create a page (blank) new (ie "File> New ...") Copy the code from "Sample 2" and paste it into your blank text files (or re-type if you like) Save the file as "index.html" Congratulations you have just created your first web page! You can go ahead and see your new web page on your browser. To do this, you can double-click on the file. If this does not work, try opening a new browser window, then drag files onto it. " Adding another page Adding another web page as easily when we made the first page. In fact, you can make a copy first if you want, then modify as you see fit. For example, you can create a "hyperlink" so it will be linked to other pages. When the link is clicked, another page will open. So, let's create another web page. On the web page, we will have a hyperlink that leads to our first web page. To do this, our code would look like this: Example 3: <head> <title> Hello World! </ title> </ Head> <body> <h1> my second page </ h1> <p> Welcome to my second web page </ p> <p> Here <a href="index.html"> my first page </ a> </ p> </ Body> </ Html> </ html> HTML page above would look like this in the browser:
We call this the page_2nd.html So, if you've forgotten how to do this, here are the steps to create your second web page: Open a text editor (like Notepad or SimpleText) Create a new page (ie "File> New ...") Copy the code from "Sample 3" and paste it into your blank text files (or re-type if you like) Save the file as "page_2nd.html" (save to the same directory as your previous file) And so it was our second page, do not be afraid to experiment yourself


0 comments
Post a Comment