Hyperlink Or Links

Hyper links are called links in html. Links can be text or document or image or button which can take to another place.

Links tag is start from <a> 
It written as <a href='Url of the website or page'>Text to display</a>

For Example: 
 <a href='http://blockingfucks.blogspot.com/'>Our home page</a>

Elements:
1: Href is the attribute which decides the destination page to launch.
2: URL of the website or page remove this text and place the URL of page to go.
3: When you click on the text (our home page ) it will take you to that URL which you inserted on link.

For making a link which open in new tab you can simply paste one more attribute in it.

Target=_blank
it written as
<a href='Url of the website or page' 'Target=_blank'>Text to display</a>

For Example: 
 <a href='http://blockingfucks.blogspot.com/' 'Target=_blank' >Our home page</a>
 Element:
   Target is the attribute which controls how to open the page
    Its possible values are given,,,
    
    _Blank  to open in new window
    _Self    to open in present window
    _parent to open in parent window
    _Top  to open in full body window

   Framename to open window in desire T ital bar window .

0 comments:

Post a Comment

Entri Populer