Sunday, October 10, 2010

HTML Basic Tags

The basic structure for all HTML documents is simple and should include the following minimum elements or tags:
<html> - The main container for HTML pages.
<head> - The container for page header information. head section includes page title, description of the page, keywords ,etc...
<title> - it display title of the page.
<body> - main body of the page.etc.....

Now we will explain each of these tags one by one.
The <html> element is the containing element for the whole HTML document. by using <html> tag browser will comes to know that whole document in HTML.
each HTML tags should have opening & closing tags (<html>...</html>,<body>..</body>,etc...)

The <head> element is just a container for all other header elements. such as title, description, keywords, css, base, etc....

The <title> Element, You should specify a title for every page that you write inside the <title> element.It displays at the very top of a browser window. Its is used by search engines (Google, Yahoo, MSN, etc..) that use its content to help index pages. therefore, it is important to your sites.



The <body> Element appears after the <head> section or elements. it contains content of web pgae that you actually see in the main browser window.

No comments:

Post a Comment