Saturday, 28 January 2012

HTML elements, tags and attributes

This will show you the diference between HTML elements, tags and attributes.So

Elements;
An element is a single ‘chunk’ of code comprising of an opening and closing tag.
Like <h1>This is a element</h1>

Tags;
Two types of tags opening tag and closing tag.
Like <h1> use for opning and </h1> use for closing tag.h1 use as a example.

Attributes;
An attribute is a piece of code attached to a tag which supplies additional information.
Like <h1 align="center">This is element</h1>. Align center is an Attribute.

1 comments:

but how i can add drop down menu in my blog .. like u add it in this blog???? plz tell me .. i m waitin...

Post a Comment

IP Address Details
Twitter Delicious Facebook Digg Stumbleupon Favorites More