Skip to main content

HTML [Continued]...

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


Comments

Popular posts from this blog

Tables...

Ok.... So now we are done with a lot of lists.. now let us study about tables... Well all of you know what are tables...Now lets make a table in HTML... <html> <body> <table style="width:100% border="1" ">   <tr>     <td>Jill</td>     <td>Smith</td>            <td>50</td>   </tr>   <tr>     <td>Eve</td>     <td>Jackson</td>            <td>94</td>   </tr>   <tr>     <td>John</td>     <td>Doe</td>            <td>80</td>   </tr> </table> </body> </html> Your result must be somewhat like this :- ok now lets understand this code... Tables are defined w...

HTML CONTEST IN JUNE 2015

THIS IS AN IMPORTANT POST!!!PLEASE READ IT So we have done a lot of practice till now.....Now is the time..start preparing yourself for the contest.... About the Contest :- The contest will begin in June and you will be given some time to complete the task given to you.... Keep bringing people here so that there may be a tough competition and till then keep practicing... Prize :- Your name will be there at the home page for 10 days ALL THE BEST .. NOTE :- The contest may postpone if there are insufficient participants....

Beginning With CSS

Now lets begin with CSS... Now lets see an image below and see the syntax of CSS:- A CSS rule set consists of a selector and a declaration block The selector tell which html element to be styled.... The declaration block contains one or more declarations separated by semicolons. Each declaration includes a property name and a value, separated by a colon. Now lets see an example.... p {color:red;text-align:center;} You can see that there are two declarations in the first line...To make the code neat we can put one declaration on   each line....  p  {      color:  red;      text-align:  center; } The answers to the first assignment will be given soon..we will start with "Comments" from the next post...