Basic attributes of html, PHP Web Programming

Assignment Help:

These all are attributes of the <A> tag. The following instance explains each of these attributes.

<HTML>

<BODY>

<UL>

<LI>TARGET = "_blank"</LI>

<A HREF="newwindow.html" TARGET="_blank">a new window</A> <BR>

<LI> TARGET = "_self"</LI>

go to <A HREF="selftarget.html" TARGET="_self">next</A> page<BR>

<LI>TARGET = "_top"</LI>

<A HREF="selftarget.html" TARGET="_top">top</A><BR>

</UL>

</HTML>

1910_Basic attributes of HTML.png

Figure: Attributes of the <A> Tag

 

• TARGET = "_blank"

"_blank" opens the new document in a new window. Run the code given in given code and check how it works. This value does not have need for the use of any frames. "_blank" is famous in web pages which are devoted to links to "other resources on the net". Through opening any new window for each resource, the user has a sense of a "main" page (the list of resources) and "secondary" pages (each individual resource). Also, the web site providing the link does not risk being supplanted by a link that it has provided.

Note: Some of the versions of MSIE do not support "_BLANK"

•  TARGET = "_self"

"_self" puts the new document in the identical window and frame as the current document. "_self" works the similar as if you had not used TARGET at all.

•  TARGET = "_parent"

"_parent" is used in a condition where a frameset file is nested within another frameset file. Any link in one of the inner frameset documents which uses "_parent" will load the new document where the inner frameset file had been.

If the current document's frameset file does not contain any "parent", then "_parent" works precisely like "_top": the new document is loaded in the full window. Note down that "_parent" does not work in a frameset that is merely nested inside another frameset in the identical frameset file.

• TARGET = "_top"

"_top" loads the linked document in the topmost frame, i.e., the new page fills the whole window.


Related Discussions:- Basic attributes of html

What is the difference between an intranet and an extranet, Question 1: ...

Question 1: (a) What is the difference between an intranet and an extranet? (b) Briefly mention and explain four types of applications present on the Internet? (c) (i) W

I am in need of php copyscape script expert, I am in need of PHP Copyscape ...

I am in need of PHP Copyscape Script expert Want a sample PHP script which sends text to Copyscape as well as fetches the result along with balance in XML. Desired Skills are

We need a jr developer, Jr Developer a) I have an Immediate project that...

Jr Developer a) I have an Immediate project that needs to be done right now. I have a few PSDs that want to be converted to HTML / CSS for Email (MailChimp) I am looking for a J

Protection against suspicious data, Input values embedded in SQL statements...

Input values embedded in SQL statements should be screened for inappropriate characters that can form the basis so-called SQL Injection attacks, a type of security attack that may

Want someone who can create wordpress plugin, Wordpress plugin Want some...

Wordpress plugin Want someone who can create (or modify existing) WP plugin to act like Desired Skills are PHP, WordPress

Objects, A JavaScript object is an example of data type. Object is given a ...

A JavaScript object is an example of data type. Object is given a unique name & the set of properties of the corresponding object might be accessed by means of the dot syntax. As a

Customization to cs-cart, We need some customized development for CS-Cart v...

We need some customized development for CS-Cart v4 Multi-Vendor Edition. We are taking a freight company to handle delivery of the goods. Vendors only require to pack the goods

Dialog boxes in javascript, In this the user cannot switch to the window wi...

In this the user cannot switch to the window without closing the existing window.  This sort of dialog box is referred to as a modal dialog box. You generate a modal dialog box wit

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

I want to have an intranet website, What i have: Linux based web-server to ...

What i have: Linux based web-server to test, later website can run on windows server2012 with active directory (keep care of lower/ upper letters and so on), Domain, MySQL Database

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