Continued...
Where do we write the commands?
To write a HTML code we need any simple text writer like notepad......
NOTE:Using Wordpad is not recommended....
We can also use software like notepad++ ...
ok.. so we know where to write the code.. so lets begin!!!!
HTML coding starts with a <html> tag and ends with a </html> tag
Below is a basic html code in italics..try copying it in your notepad...save it as .html form and then open it in a browser..
<html>
<head>
<title>My First webpage</title>
</head>
<h1>First Webpage</h1>
<p>This is my first webpage....Hope you like it
</html>
After Writing this code your result must be somewhat like this:-
Now let me explain this code...
I have labeled the photo to make you understand properly
1 >>> This is the place where you will see what you wrote in the title.titles are placed between a <head></head> tag.. NOTE: In HTML , a tag starts with a <> and ends with a </>
2>>>This is what you wrote in <h1></h1>. This is called heading..you can also try <h2></h2>..... till 6.
the font keeps on decreasing as you increase the number
3>>>This is what you wrote between <p> tags...p stands for paragraph..
MORE OF HTML IN THE NEXT POST
Where do we write the commands?
To write a HTML code we need any simple text writer like notepad......
NOTE:Using Wordpad is not recommended....
We can also use software like notepad++ ...
ok.. so we know where to write the code.. so lets begin!!!!
HTML coding starts with a <html> tag and ends with a </html> tag
Below is a basic html code in italics..try copying it in your notepad...save it as .html form and then open it in a browser..
<html>
<head>
<title>My First webpage</title>
</head>
<h1>First Webpage</h1>
<p>This is my first webpage....Hope you like it
</html>
After Writing this code your result must be somewhat like this:-
Now let me explain this code...
I have labeled the photo to make you understand properly
1 >>> This is the place where you will see what you wrote in the title.titles are placed between a <head></head> tag.. NOTE: In HTML , a tag starts with a <> and ends with a </>
2>>>This is what you wrote in <h1></h1>. This is called heading..you can also try <h2></h2>..... till 6.
the font keeps on decreasing as you increase the number
3>>>This is what you wrote between <p> tags...p stands for paragraph..
MORE OF HTML IN THE NEXT POST
Comments
Post a Comment