Anchor tag, PHP Web Programming

Assignment Help:

The Anchor tag is utilized to create links between distinct objects such as HTML pages, files, web sites etc.  This is introduced through the characters <A> and terminated through </A>. HREF is the most common attribute of the ANCHOR tag. It describe the destination of the link.

<HTML>

<HEAD>

<TITLE>ABC</TITLE>

</HEAD>

<BODY BGCOLOR="#FFFFFF">

Go to <A HREF="https://www.expertsmind.com/">EXPERTSMIND!</A>

</BODY>

</HTML>

As illustrated in above code, the text "ABC" present between the <A> & </A> tags becomes the hyperlink. On clicking anyplace on this hyperlink, the browser would try to connect to the given URL and the website www.expertsmind.com in would open, if possible.  An email link may be specified in the similar way. We just ought to specify the email address rather than a page address as the value of HREF as illustrated in the following code.  By clicking on the link, the default mail program onto the user's computer opens with a "To:" address as indicated in the hyperlink.  Then you can type your message and send e-mail to that address.

<BODY BGCOLOR="#FFFFFF">

Send me <A HREF="mailto:[email protected]">mail</A>

</BODY>

This is also possible to make an image a link if wanted. It is done using the <IMG> tag. Assume the following example.

<HTML>

<HEAD>

<TITLE>ABC</TITLE>

</HEAD>

<BODY BGCOLOR="#FFFFFF">

Go to <A HREF="https://expertsmind.com/"><IMG SRC="image.gif" WIDTH=130

HEIGHT=101></A>

</BODY>

</HTML>

So in the instance shown in above code, the image will be becomes the link. While the user clicks on the image, the web site https://www.expertsmind.com opens up, if possible.


Related Discussions:- Anchor tag

Definition lists, Another type of list is a definition list. Definition lis...

Another type of list is a definition list. Definition lists contain a heading & the text show below that. IGNOU <

We need help in reputation on google need seo, We need help in Reputation o...

We need help in Reputation on Google Need SEO We have a bad criticism on the ripoffreport.com on google page 1 position 2. We want to have it pushed back to page three or more.

We need help in event ticketing website built on wordpress, We need help in...

We need help in Event ticketing website built on Wordpress I work for an event promoter as well as we're looking to build our own ticketing site on the wordpress platform. De

We need senior developer experienced in python & django, We need Senior Dev...

We need Senior Developer experienced in Python & Django Company Data aggregation project where we are aggregating online data from multiple sources as well as enabling companies

Personal portfolio site, This site must include at least 5 pages - your Hom...

This site must include at least 5 pages - your Home page, an About Me page, a Projects page, a Services page, and a Contact Me page. 1.  Your Home page should include the followi

Requirement for develop a web application, Project Goals To develop a r...

Project Goals To develop a reasonably large and enterprise-level Web application using PHP/ASP.NET/JSP, MySQL, and other Web site technologies that demonstrates the objectives

Web developer and possibly web designer needed, Web Developer and possibly ...

Web Developer and possibly web designer needed for a home swapping platform We are building web platform allowing students to swap their accommodation for a short-term period.

We need website developer, Website Developer We are currently looking fo...

Website Developer We are currently looking for a web site developer. Job Description- We're looking for a Web Developer. Your responsibilities- a) Review business re

Image gallery with facebook like button, Hello! I have cheak all over goog...

Hello! I have cheak all over google for a answere how i can greate a facebook like button into my php-gallery. I have download the gallery from here: And">http://www.e2interact

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd