Sunday 20 October 2013

Let's learn HTML


This is a very simple html coding with meaning  of the tags defined  for basic learners having no previous background of programming.

<!DOCTYPE html>
<html>→ html code starting tag, defines html document.
<body> Body starting tag, defines the body of the document.

<h1>This is heading 1</h1>→ <h1> Heading 1 starting tag, </h1> Heading 1 closing tag.
<h2>This is heading 2</h2>                                                          .
<h3>This is heading 3</h3>                                                          .
<h4>This is heading 4</h4>                                                          .
<h5>This is heading 5</h5>                                                          .
<h6>This is heading 6</h6>→ <h6> Heading 6 starting tag, </h6> Heading 6 closing tag.
<p>This is my first paragraph.</p>→ <p> Paragraph starting tag, defines paragraph.    

</body> Body closing tag.
</html> html code closing tag.

The code above will show you the following result in the browser;






No comments:

Post a Comment