HTML Lesson No1 By Ahmad Awais
Freakify has published this article i.e.HTML Lesson No1 By Ahmad Awais & More 364 awesome articles for you at FREAKS NETWORK.If you like this post after reading it , do share it with others ! A reseach has shown that sharing takes just 15 seconds :) Adverite Here.

Salam, and welcome to the first lesson of HTML by me.Today we will study three things in this HTML Language
- Compiler
- Basic Tags
- First Website (Basic)
Editor Not Compiler:
Every Language has its compiler in which that language is executed , but in case of HTML we don't need any special thing just our Notepad is enough for us to code with.
What I use?
I use Notepad ++ for HTML programming .It colorizes the code which helps me understanding it well .You can download it from here
Click Notepad ++ to Download it or go here http://www.filehippo.com/download_notepad/
Other options are Dream weaver and front Page .
Basic Tags and Extensions
The basic tags in HTML are
- <html></html>
- <body></body>
.HTM or .HTML File Extension?
When you save an HTML file, you can use either the .htm or the .html file extension. There is no difference, it is entirely up to you.
See the program below to understand these tags.
First Basic Website in HTML
Lets start it .It is a good practice that you make a folder in your computer and name it anything you like eg HTML workspace and do all stuff in it.
I hope you have made that folder up-till now .
Steps
- Lets make a new file by right click on the screen in that folder => New =>Text Document and name it like "index.html" (Without quotes of course ).
- Now I assume you have installed the Notepad ++ software , So, Right click index.html and click edit with Notepad ++.
- Now that file is in-front of you and write the below code in it.
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Explanation:
- The text between <html> and </html> describes the web page
The text between <body> and </body> is the visible page content
The text between <h1> and </h1> is displayed as a heading
The text between <p> and </p> is displayed as a paragraph
What Else?
- Now save the code by pressing Ctrl + S or by going to File => Save in Notepad ++
- Now double click the index.html and it will open in the default browser you use. (i.e Internet Explorer , Opera, FireFox, Safari, Chrome etc) .
See the Result and try modifying it a little ! ![]()
Ahmad's Tip
Try downloading Opera or Firefox browser and open the index.html in those to get good results.I love opera !
Exercise/Assignment
Make a page that explains a little about you and yourself , containing different sizes of headings.
Ahmad's HINT
Try <h2><h3>….<h6>
More posts from AhmadAwais
AhmadAwais has written 364 awesome articles for us at FREAKS NETWORK
Some of them are as follows


gud work
Thankx Ahmed stay connected
cool:)
Kepp the track with us @4f754c230e956eabc82682677e3326af:disqus
nice…:)
thankx for liking it
helpful
I tried writing a paragraph, and pressed ‘Enter’ key to go to the next line in the paragraph body, but when i opened it as an HTML file, then it didnt show the ‘Line Feed/ New Line’. Any suggestions?
well bro nice try infact in html
for a line feed or break you have to use the tag of
Only once for one line.
Any further Queries?
yar ur tag isn’t visible here.
Ur comment has appeared like:
“well bro nice try infact in html
for a line feed or break you have to use the tag ofOnly once for one line.Any further Queries?”
hmm the comment added a line where i put the code lol
hmm the comment added a line where i put the code lol
well that tag is
that is Remove the space as i have put it in here coz these comments were not allowing me to post the tag !
Ok Telling again the tag is
Remove the space after first character and use it.
@aneef tell me you got it or not
thanks
My pleasure !
well that tag is
that is Remove the space as i have put it in here coz these comments were not allowing me to post the tag !
Ok Telling again the tag is
Remove the space after first character and use it.
@aneef tell me you got it or not
Also tell how to give indentation/spaces
Indentation and spaces in the source code or in HTML??
If in HTML then you will study it in further lectures but for your zeal let me give you a hint.
try somfng like this
(If I’m not mistaken it will align it in center)
@facebook-600229026:disqus Let me know about any other queries , regarding Lesson no 1 of HTML
good work and intresting way of explanantion keep it up
reAlly nicE nd helPful…
Thankx I hope you are learning
Kindly tell me how to manually put a size in font
Whats is tag for that?
I found it myself!
Also I want to ask if INTENSE DEBATE can also be configured as commenting platform please
Good yes, it can be ! It is meant for comments too
use this font-size:40px; //or any size you want
Amazing!!
Are you going to write about other languages as well??
Which languages do you need sir.
PHP,
I need to know whether i need to have any experience in coding??
OK will start soon