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

Need to build website for new business, Website for new business HTML, C...

Website for new business HTML, CSS, PHP, Drupal, WordPress Job Description- We're seeking a Web Developer/Designer to create a website for our new business. Our new busine

We need modifications to existing squarespace site, We need Modifications t...

We need Modifications to existing as well as customized squarespace site I have a squarespace site It has been made as well as customized by an agency however I need a some a

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 want you to build a small google script, 200-1019 Rapportive API Google D...

200-1019 Rapportive API Google Doc Script I want you to build a small Google script that can be run inside of a Google doc. The script will do the following: 1) Read an em

Need help to fix virus and spam crash prevention, Need help to fix Virus an...

Need help to fix Virus and spam crash prevention Problem resurfaced with the GEG site. Site down since this morning by network solutions. Can you help us? Desired Skills are

Need help to make api changes, Need help to make API changes a) All work...

Need help to make API changes a) All work submitted via github b) All time billed using workview Want adjustments to custom scripts for ebay APIs: a) Download part numb

We need an e-commerce web developer, We need an E-commerce web developer ...

We need an E-commerce web developer Adopt, develop as well as deploy scalable and appropriate website solutions using the (customization) framework • Produce Digital Consumer

Convert a non-responsive wordpress theme to responsive theme, Convert a non...

Convert a non-responsive wordpress theme to responsive Twitter Bootstrap3 My website is a none responsive wordpress theme. I want to translate this theme into responsive theme u

Input text field, The field size attribute determines the width of the disp...

The field size attribute determines the width of the displayed field. The maxlength attribute sets a limit on the maximum number of characters that can be typed in the field (whic

You have to sculp a web site, You have to Sculp A web site Project Descr...

You have to Sculp A web site Project Description: I have a web site that has to be sculped and have a protection with watermart, we require to sculp the whole web site and re

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