ExpertRating - Online Certification and Employment Testing ExpertRating - Online Certification and Employment Testing ExpertRating - Online Certification and Employment Testing

ExpertRating Home
ExpertRating Benefits
Recommend ExpertRating
Suggest More Tests
Privacy Policy
FAQ
Login
 
HTML Tutorial - Index
HTML Tutorial - Introduction
HTML Tutorial - Formatting
HTML Tutorial - Links
HTML Tutorial - Images
HTML Tutorial - Forms
HTML Tutorial - Tables
HTML Tutorial - Frames
HTML Tutorial - Style Sheets
HTML Tutorial - Advance Tags
     

 
Online Personal Trainer Certification
Personal Trainer Certification (Spanish)
Six Sigma Certification
Find a Personal Trainer
Project Management Certification
Six Sigma Certification
Six Sigma Black Belt Certification
Master Black Belt Certification
Six Sigma Green Belt Certification
Life Coach Certification
Lean Management Certification
Lean Six Sigma Certification
First Aid Certification
CPR Certification
Yoga Certification
Aerobics Certification
Pilates Certification
Business Analyst Certification
SEO Certification
Online Business Writing Course & Certification
Makeup Artist Certification
Baby Sitting Course & Certification
Time Management Certification
Health Club Management Certification
Medical Coding Certification
Medical Billing Certification
Business Analysis Course
Master Trainer Certification
Total Quality Management Certification
Kaizen Certification
Creative Writing Certification
Event Management Certification
Test Search by Job Title
Administrative Assistant Certification
Virtual Assistant Certification
  All Online Courses
   

   
   
   
   
   
   

   
  Home > Courses, Tutorials & eBooks > HTML Tutorial > Links
 
Previous Next

HTML Tutorial - Links

 
                                                                                                                        Page 2 of 2
 

 

Target

Target is another attribute of anchor tag. It specifies where the target URL should open. It takes up various values, which are:

_blank

The target file will open in a new window.

Example:

<A href= "http://expertrating.com/" target=”_blank”> Mylink </A>

Output:

This hyperlink will take you to the site www.expertrating.com. It will open in a new window.

The following example creates a web page that links to the website www.expertrating.com.

Clicking on the link “link to expertrating” opens the website www.expertrating.com in a new window.

Example:

< html>

          < head>
                     < title> My list of jokes </ title>
          </ head>
          < body background = "myimage.jpg" text = “blue”>
          < h1>This is my list of jokes </ h1>
< ul>
          < li>Classic jokes </ li>
          < li>Math jokes </ li>
          < li>Food jokes</ li>
</ ul> <hr/>
< ol>
          < li>Crazy jokes</ li>
          < li>Ethnic jokes</ li>
          < li>Golf jokes</ li>
</ ol> <hr/>
< A A href= "http://expertrating.com/" target= "_blank"> Link to expertrating </ A>
</body>
</html>
 

This is how the web page looks:

             

 

 
     
Home  |  About Us  |  Privacy Policy  |  Site Map  |  FAQs  |  Contact Us
 
© ExpertRating 2015. All Rights Reserved.