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

Checkbox element, Use a checkbox element (not a radio button/s). Refer to ...

Use a checkbox element (not a radio button/s). Refer to IT 202 manual but look up on the Internet how to define this in HTML and then how it can then be tested to guide decision-m

Need a wordpress expert, Need a Wordpress expert We're seeking a talente...

Need a Wordpress expert We're seeking a talented well experience Wordpress expert with strong PHP skills to build a website with integration with Salesforce and an advanced even

Need help in responsive architectural portfolio, Responsive Architectural P...

Responsive Architectural Portfolio, HTML5 and jQuery We are seeking a new website to showcase our architectural projects. I have a good hint of exactly how I want the website

I want a continuing education website, Continuing Education Website We w...

Continuing Education Website We will be selecting an expert within a week if one meets our needs. Work with databases: php/mysql

We need a analyst python programmer, We need a Analyst Programmer Our Es...

We need a Analyst Programmer Our Esteemed as well as Reputable Client is looking for an Analyst Programmer (Python) for their organization. The candidate is mandatory to perform

App ios - scan qrcode, APP IOS - Scan QRCODE Project Description: We ...

APP IOS - Scan QRCODE Project Description: We need the one team with maximum availability, that indicates us what is required in the project, and configure our hardware as re

Want a programmer to help update our website, Need a programmer to help upd...

Need a programmer to help update our website. Long-term work available I have an independent that worked on my website as well as has done a great job up until now. He has lost

Explain pass by-reference, The expressions can be passed as pass by-referen...

The expressions can be passed as pass by-reference arguments or only variables can be passed? Only variables can be passed as pass by-reference.

E-commerce wireless responsive site, E-Commerce Wireless Responsive Site ...

E-Commerce Wireless Responsive Site Wireless Accessory Company in search of a Developer and Design Company. To create a one of a caring Responsive awesome site. I have a JPG of

I need html5 audio recorder help, HTML 5 Audio Recorder (Hourly or Escrow) ...

HTML 5 Audio Recorder (Hourly or Escrow) I am in search of a talented fully experienced developer to build an audio recorder in HTML5 (WebRTC style). The audio recorder must wor

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