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

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

Market value targeted to regions or countries, A website that permits you t...

A website that permits you to enter data for a specific product make and model and perform a search on multiple websites, of any kind to generate a report of the different prices,

Need help in image recognition software - opencv, Need help in Image Recogn...

Need help in Image Recognition Software - OpenCV Prototype Image Recognition service - focusing on brand/logo recognition plus objects - such as TV's Coffee Cups and so on. D

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

Need help in wordpress site with e-commerce integration, WordPress Site wit...

WordPress Site with E-Commerce Integration We want development of a site in Word Press. We will offer the designs and the content. We will want you to set up the site and conver

Explain best user interface design guidelines, Question: The best user ...

Question: The best user interface design guidelines are guidelines that given high level and widely applicable principles. A set of such guidelines is as follows: (i) Know

Authorization table and authorized address, The number of emails  to a give...

The number of emails  to a given email address is updated each time an email is sent.  A request for a given address should be rejected unless the address is in the Authorization t

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

Work in layout view, Dreamweaver contain two visual design views-Standard v...

Dreamweaver contain two visual design views-Standard view & Layout view. You'll begin by working in Layout view, which let you to draw layout cells or layout tables in which you ca

Help with joomla-opencart problem, Help with Joomla/Opencart problem I h...

Help with Joomla/Opencart problem I have a website made on Joomla 2.5 using a component called AceShop (which is a bridge for Opencart). I have newly moved the website to a new

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