Sunday, 25 August 2013

HTM Tag - Structure

<html>.....</html>
The <html> tag tells the browser that this is an HTML document.It represents the root of an HTML document.This tag is the container for all other HTML elements.

<head>.....</head>
The <head> tag is a container for all the head elements.The <head> element must include a title for the document, and can include scripts, styles, meta information, and more.

<body>.....</body>
The <body> tag defines the document's body.The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.

<div>.....</div>
The <div> tag defines a division or a section in an HTML document.The <div> tag is used to group block-elements to format them with CSS.

<span>.....</span>
The <span> tag is used to group inline-elements in a document.They provides a way to add a hook to a part of a text or a part of a document.
     
<html>
 <head>
  <body>
  
hello this is a simple example to express structure tags
</body> </head> </html>

No comments:

Post a Comment