Home » Archives for December 2012
What is Abbr tag in HTML, What is the use of Abbr Tag in HTML
The Abbr Tag is used to give a useful information for a particular text like a tool tip.
If you want to give the tool tip for a particular text and tell the users what its actually then you can use the <abbr> tag.
Example:-
<html>
<body>
<abbr title="World Wide Web">WWW consist of all the public websites connected to the Internet </abbr>
In above example when you take the mouse pointer on the WWW the tool tip is appear and it shows World Wide Web.
Use of <a> tag or Anchor tag in HTML, How to link one page to another page in HTML, How to create Hyperlinks in HTML
The <a> tag is used to link a web page to other page or link.
It gives the facility to redirect from one page to another and also send some data associated with the URL.
example:-
<a href="secondpage.html">Go to Second Page</a>
the above example look like as below example:-
Go to Second Page
By Clicking on above link you can redirect to the given URL which is given in the href property of an anchor tag.
What is DOCTYPE in HTML, What is the use of DOCTYPE in HTML
The DOCTYPE is used to tell the browser what version of HTML you are using.
Its not a tag of HTML its only used to tell about your type of document.
syntax:-
<!DOCTYPE HTML>
How to write comments in HTML, Comments in HTML, HTML Comments
<!-- place your comments here -->
the above tag is used to place a comment on your web page
Why we are use this tag?
The Browser interpreted all text and show that text on web page including // and /* */ but if you want to place a comment on your web page then you should this tag
Example:-
<html>
<head><title>HTML Comments</title></head>
<body>
<!-- this text will not shown on your web page -->
<h1>Welcome to the HTML Comments Tag</h1>
</body>