Search This Blog

Monday, 30 December 2013

1.3 HTM Basic

Don't worry about the tags you have not learnt, we will discuss these about later.Basically to create a HTML web page your coding should lie in between the html tag.
(<html>...........</html>)
Next after the <html> tag use <head> tag. This tag is useful when you want to use a block of coding or something through out the entire coding. The codes in between this tag is known as the global tag and can be used through out the entire coding.
But if you declare some code in between the body that can only be used in single code you want to. This is called local coding.
Normally the WEB code looks like

<!DOCTYPE html>
<html>
<head>
:
:
</head>
<body>
<p>............</p>
<br>
<h1>..........</h1>
:
:
:
</body>
</html>

The head is the styling part or the declaration part of the coding. You can make a design without using this tag. Many tags like <title> tag , <style> tag lies in head tag.
Where as in <body> tag we use all things for our code and is known as the real part of the web page coding.

NOTE: Always use end tag of a tag (</tagname> is end tag and <tagname> is beginig tag ). Where as the browser take this code and can make output. But the future version of HTML is strictly forbid this and this may cause bugs in the codding.

No comments:

Post a Comment