anchor tag in HTML

Explain anchor tag in HTML?

View Answers

November 2, 2010 at 3:59 PM

Hi,

Here is the answer,

The <a> tag defines an anchor. It can be used to create a link to another document by using the href attribute or to create a bookmark inside a document, by using the name or id attribute.

The <a> element is usually referred to as a link or a hyperlink.

Syntax-

Visit to Roseindia.net!

Thanks,


January 14, 2013 at 11:43 AM

Anchor tag is used to transfer control from current page to another page. Anchor tag opens another webpage or another file PDF, Doc, Excel or any HTML page in same window or new window.

Anchor tag use href attribute to find URL of another page where it has to visit. It is also called hyperlink Href attribute help to create a hyperlink with another page.









Related Tutorials/Questions & Answers:
anchor tag in HTML
anchor tag in HTML  Explain anchor tag in HTML
how to call servlet from html page at anchor tag ?
how to call servlet from html page at anchor tag ?  I have a very different problem as i am using netbeans ide 6.9 ml to make a website in java... buttons image and for referrence i use anchor tag {for ex: ()} to go
Advertisements
Example of struts2.2.1 anchor tag.
to another page. It works as anchor tag of html, but syntax is different .In HTML - <a>, struts - <s:a>. Directory structure of anchor tag...Example of struts2.2.1 anchor tag. In this tutorial, we will introduce you
HTML5 Anchor Tag Example, Definition of &lt;a&gt;anchor tag in HTML5.
HTML5 Anchor Tag Example, Definition of <a> anchor tag in HTML5. In this tutorial, we will introduce you to the <a> anchor tag of HTML5. An Anchor tag is a hyper link. It is used to create a link from one page to another
Anchor tag attributes in HTML5, Define the type attribute of anchor tag.
  In this tutorial, we will see the use of type attribute of anchor tag . The type attribute of anchor tag specifies the MIME (multipurpose internet... syntax of type attribute in anchor tag.      
Assigning value to anchor <a></a> tag using custom tag
Assigning value to anchor tag using custom tag  hi, I am trying to assign a value to anchor tag within a custom tag and redirecting the link... time. I think the problem is im assigning in custom tag . package
Anchor tag attributes in HTML5, Define the href attribute of anchor tag.
Anchor tag attributes in HTML5, Define the href attribute of anchor tag. In this tutorial, we will see the use of href attribute of anchor tag . The href attribute of anchor tag holds URL of destination document, which we want
Target attribute in anchor tag, Use of target attribute of anchor tag in HTML5.
Target attribute in anchor tag, Use of target attribute of anchor tag in HTML5. In this tutorial, we will see the use of target attribute of anchor tag...; Declaration Syntax : Declaration syntax of target attribute in anchor tag.ADS
how to get the anchor field in hidden field tag
how to get the anchor field in hidden field tag  I have a following code I need to have the value of property "emp" in a hidden field also. when i try to put the following code, I cant get the hidden tag when i see the source
Rel attribute in anchor tag, Use of rel attribute in anchor tag.
Rel attribute in anchor tag, Use of rel attribute in anchor tag. Description:You will see the use of rel attribute of anchor tag and how to implement...;s sidebar.   tag Indicates that the tag
meta tag in HTML
meta tag in HTML  Explain meta tag in HTML
formatting tag in HTML
formatting tag in HTML  What are the various text formatting tag in HTML
HTML text tag
HTML text tag   How to wrap text in HTML code without changing the text format
Anchor Tags
Anchor Tags  coding for one link to another new page using anchor tag   Example of Anchor Tag in HTML <a href="http://www.roseindia.net/">RoseIndia Home Page</a>
text formatting tag in HTML
text formatting tag in HTML  What are the various text formatting tag in HTML
HTML marquee tag
HTML marquee tag  What is Marquee Tag in HTML?  Marquee Tag in html rolls the text horizontally or vertically based on the parameters. A simple syntax to use marquee is as follows: <marquee>Hello World<
HTML - base tag example.
HTML - base tag example. Description : The base tag is a HTML tag...;title>HTML is a markup language</title> </head> <body> <h1>HTML -- base tag. </h1> &nbsp;<a href="
HTML - Image tag.
HTML - Image tag. Description : HTML supports two type tags. 1-Singular tag... and end tag. The img tags is used for embedding image in HTML page...;h1>Example of HTML image tag.</h1> <img src="RI
HTML - Q (quotation) tag.
HTML - Q (quotation) tag. Description : It generates a quotation over the text. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...;/head> <body> <h1>HTML -- q&nbsp; tag.</h1> <
HTML - menu tag example
HTML - menu tag example Description : The <menu> is a tag of HTML...>HTML -- menu tag.</h1> <p>Creates a menu list... html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "
struts html tag - Struts
struts html tag  Hi, the company I work for use an "id" tag on their tag like this: How can I do this with struts? I tried and they don't work
HTML -- form tag.
HTML -- form tag. Description : HTML provides a form tag. It takes user... within form tag. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD... language</title> </head> <body> <h1>HTML form tag
HTML font tag.
HTML font tag. Description : It is a HTML tag, which is used for changing... : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...;html xmlns="http://www.w3.org/1999/xhtml"> <head> <
HTML - textarea tag example.
HTML - textarea tag example. Description : It is a input tag. You can enter...; <head> <title>HTML is a markup language</title> </head> <body> <h1>HTML -- textarea tag Example. </h1>
JavaScript method anchor()
. The anchor() method creates an HTML anchor with a NAME attribute on the specified...;NAME" attribute of the html anchor. In the given example, we have created... the button, you will see that the HTML anchor is created. This is shown in the alert
HTML - I tag example.
HTML - I tag example. Description : It is a text formatting tag. It display...>HTML -- I tag Example. </h1> <p> Roseindia Technology Pvt...;head> <base href="http://roseindia.net"> <title>HTML
HTML - bold tag.
HTML - bold tag. Description : The bold tag is also a font tag. Which... within bold tag will be display as bold. Code : <!DOCTYPE html...; <h1>Example of HTML image tag.</h1> <span style="font
HTML audio tag
HTML audio tag  Hi, I have written a simple html page to play audio file, I m using audio tag as shown below: Your browser does not support the audio tag. when I open the page using Chrome, it works fine(plays audio
working of a div tag in html
working of a div tag in html   !DOCTYPE html PUBLIC "-//W3C//DTD....dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
img tag of HTML
img tag of HTML  How to pass a variable as a source(src) in img tag? I'm using <% %> to call variables of servlet on a JSP page. And want to pass one of the variables called as a src for img tag. How can This be done
Hreflang Attribute, Use of hreflang attribute of anchor tag in HTML5.
Hreflang Attribute, Use of hreflang attribute of anchor tag in HTML5. In this tutorial, we will see the use of hreflang attribute and how to implement.... Declaration Syntax : Declaration syntax of hreflang attribute in anchor
Example of anchor(Ajax) in struts2.2.1
, you will see the use of Ajax(anchor) tag.  Here, we are changing value of div tag with the help of Ajax anchor tag.   1- index.jspADS...;html> <head><title>Ajax_Anchor_Tag_Example<
Applet Tag Parameters,Applet Tag in HTML
to applets are: First, add the PARAM tag (with values) to the HTML source file... <APPLET> Tag Parameters: The <PARAM> Tag... the applet's operation. APPLET parameters stored in the PARAM tag actually have little
Rewrite Tag<html:rewrite>:
; html:rewrite Tag - This tag renders a request URI  based on exactly the same... Optional anchor tag ("#xxx") to be added to the generated hyperlink... Example Illustrating the use of the Rewrite<html:rewrite> tag
HTML line break tag
HTML line break tag. The HTML Line break tag <br> is used to add a line... web page. Its very easy you just have to write <br> tag in your html page... <br> tag. This tag is used to add a line break in HTML page
Img Tag<html:img>:
Img Tag<html:img>:       html:img Tag : Renders an HTML <img> element with the image... Example Illustrating the use of the Rewrite<html:img> tag
Textarea Tag<html:textarea>:
Textarea Tag<html:textarea>: Information on Textarea Tag       html:textarea Tag -is use to create ...:textarea> tag. Here you will learn to use the Struts Html<html
Tag Inside Table in HTML
Tag Inside Table in HTML     ... in HTML.In this code we define a HTML page and show you to create a tag inside a Table in HTML. The following tags used in code to create tag inside table in HTML
Checkbox Tag <html:checkbox>:
Checkbox Tag <html:checkbox>:       html: checkbox Tag -  is used to create a  Checkbox Input Field. This tag creates an HTML <input> element of type checkbox
Radio Tag <html:radio>:
Radio Tag <html:radio>:       html:radio Tag - This Tag renders an HTML <input> element of type radio... of the Radio<html:radio> tag. Here you will learn to use the Struts Html
Hidden Tag <html:hidden>:
Hidden Tag <html:hidden>:       This tag facilitate  an HTML <input> element of type hidden... the use of the Hidden<html:hidden> tag. Here you will learn to use
PHP Escaping HTML Tag
PHP Escaping Html Tag: During the parsing of a file by PHP, it looks... the time, unless you need to embed html or any other scripting tag.... The parser ignores the coding outside of the tag. In general we use <?php ?>
Html tag inside out implicit object
Html tag inside out implicit object   ... a html tag inside a out object. out object is used to display the content on the browser. To make this program run use out object inside which define some html
Store image from html img tag into mysql db using java
Store image from html img tag into mysql db using java  Hi. How to get the image displayed in the < img > tag of HTML and store it in the mysql database using java? Thanks in advance
coding for anchor tags
coding for anchor tags  coding for anchor tags
coding for anchor tags
coding for anchor tags  coding for anchor tags