Friday, 23 September 2016

How to know awesome tricks about HTML

Hi friends, now I am telling you about what you are able to do with .html codings and make your own webpage which doesn't need any internet connection. Firstly you have to learn about HTML language which is not so tough. The .html webpage codings can be written on wordpad, notepad etc. but I prefer notepad or notepad++ which are good enough. Also note that after typing your HTML codings you have to save your file with (.html) extension like - yourfilename.html
                           
                             Now lets start, there are different tags in HTML for different purposes. The HTML codings always start with <html> tag that means from here codings of html starts. Then we use <head> tag which is used to enter main things like title, further index codes etc. Then we have to use <title> tag in which we write our webpage title. After writing title close title tag like this</title> every tag is closed by putting slash before it but in arrow bracket. Then close head tag </head>. Now type <body> tag to insert main body of your webpage. In this article I am telling you basics, for some complicated tricks see my another post about further attributes of tags. Now return to our topic and type <center> tag to align everything you enter in webpage to center. Now type <h1> tag to increase the size of your text and type whatever you want to be shown on the top of webpage then close h1 tag like this - <h1>This is My Webpage</h1>. Then to break line means act like when you press enter you get your material in new line type <br> tag. This tag doesn't need to be closed. Type br tag 2 times. Then type <h3> tag to set text size to medium and type all you want to be in your webpage. Insert br tag wherever you want to break the line then close h3 tag. Then close center tag then body tag and then html tag. At last save it as anyname but with .html extension as I tell you at top of this post. Now open your saved webpage from saved location and select any browser to open it but I prefer Google Chrome. Thanks for reading this article.

1 comment: