Thursday, July 9, 2020

How to start learn HTML


For learn HTML, you do not need external software like in case of python we download python IDLE, pycharm professional like software but here we don't need any software.


Step-1: Right click on the desktop and then select New and then text document.


Step-2: Then write in notepad:

<html>
<body>

Hello this is my first page.

</body>
</html>


Step-3: Now click on file and then click on save as.


Step-4: Now change the name whatever you want to give and in last of the name use ".html" and then click on Save as type and in this menu choose "all files" and then  save it.


Step-5: Now a file of same name appear on your desktop in the logo of chrome open it and you see "Hello this is my first page, which we write in between <body> and </body>.



Some key point:

1. Use <html> for open and </html> for closing. <html> show starting of html code.
(Here </html> use with forward slash which means closing)

2. Whatever you write in between <body> and </body> it seen in the browser.

3. Always we have to start a command and then close it. For close we use forward slash (/).


This is the basic about html page. In the next chapter we see more elements other than html, body and their use.

Hope you like and understand this tutorial.

No comments:

Post a Comment

How to add Heading , Subheading and Paragraph in HTML If you don't know how to run HTML code , then please see our previous blog link he...