Sunday, June 22, 2014

Complete Course of Learning HTML-2

We already have written HTML.It was like this
                                                                                            
    <html>
    ↓<body>
    <p>This is my first code</P>
    </body>
    </html> 




Here <html>,<body> and <p> are html tag(called opening tag) & </p>,</body> and </html> are also html tag(called ending tag).It is very important to remember that every html tag has a opening and a ending tag(without some exception).And when you write a opening tag,you have to write it`s ending tag also.If you do not write this,your code will never give you correct output result.So,we always remember that.Now we  discuss about html tag.It is most important to learn html.so,let`s start...

HTML Tags

Tags are very important for learning and writing html code.Html code is written by these tags.Now we discuss about various html tags.

1.html tag : This is the first tag.when we write html,we have to first write <html>.So it is the first tag and it is the last tag also.Please look at the code given below....


                                                                                            
    <html>
    ↓<body>
    <p>This is my first code</P>
    </body>
    </html> 



Here we see html document is situated between the <html> and </html> tag.So always remember that all html tags or html document is covered with the <html> and </html> tag.

2.Head Tag:  It is situated under html tag. we can divided html document between two parts.These are

>>Head Section-This section is made of head tag.Title tag,meta tag,link tag,base tag,style tag and script tag are the parts of head tag.If we use these 6 tags,we have to must use these under head tag.We of course describe about the 6 tags later.


>>Body Section-All headings,paragraphs,images,videos all are included in this section.


we discuss about all tags with example step by step.

Example 1

<html>
<head>
<title>This is joy from Bangladesh.</title>
</head>
<body>
<h1>Do You Understand?</h1>
</body>
</html>

save this file as a joy.html and open it with any browser like chrome,Firefox or internet explorer and see the output result.


No comments:

"Top 10 Strategies to Increase Your YouTube Subscribers"

  Increasing YouTube subscribers requires a combination of effective content creation, optimization, promotion, and audience engagement. Her...