1 HTML Page Structure Fri Dec 25, 2009 10:54 pm
ankillien
Administrator
HTML Page Structure Different parts that make an HTML page |
Hi Again I showed you how to create an HTML page of yourself in my previous tutorial. In this one, I am going to explain how different tags work. We created an HTML page with this code last time...
The the tags has a start tag<> and end tag</>. A couple of start and end tag makes an HTML element and content inside the tag is called element content. <html> Tag : The <html> tells the browser that HTML document has started and </html> tag tell that the HTML document has ended. This is the first and last tag of any HTML document. <head> Tag : Right after we open <html> tag, we start <head> tag. The head tag contains the title of the page that we put inside <title> </title> tags. It will display the page name on the title bar of your web browser. The head also contains other tags like <link> , <meta> , <!DOCTYPE> etc. We'll discuss them later. The <head> tag doesn't contain any other elements. The info inside head is not visible on the document. <body> Tag : As the name suggests, it defines the main body of the HTML document. The elements and content inside the body tag is displayed on the web page. We start the <body> tag right after we close the </head> tag. There can be nothing after closed head tag but the starting body tag. We need to close the </body> tag before we close the </html> tag. You might have noticed that in above code, whatever goes inside the body tags is displayed on the page. So, this is the basic structure of an HTML document. We'll be discussing the main part of HTML document i.e. different tags and elements that go inside body tags and display content on the web page. You'll be learning text formation, making tables, working with forms, making lists, boxes, links, frames and many other things. So stay tuned for the next HTML tutorial. Thank You |
Notice : This tutorial is copyrighted by WebArtz Forum. You may not publish it on anywhere without written permission from the administrators. |