Defining an HTML Hyper Link
How To Define a Hyper Link?
If you want to define a hyper link in your HTML document, you need to use an "a" element with the "href" attribute. Here are basic rules about defining a hyper link with "a" element:
Here is a good tutorial example of hyper link elements:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Hyper Link Elements</title> </head> <body> <p>"The weak can never forgive. Forgiveness is the attribute of the strong." <a href="http://en.wikiquote.org/wiki/Mahatma_Gandhi" >Click here</a> to find out the author of this quote.</p> </body> </html>
If you save the above document as hyper_link.html, and view it with
Internet Explorer, you will see that a hyper link is showing up in the
paragraph. The hyper link text is "Click here" displayed in different color
with an underline as shown below:
2017-07-15, 362👍, 0💬
How To Write a String to a File with a File Handle in PHP? If you have a file handle linked to a fil...
How To Add Column Headers to a Table? If you want to add column headers to a table, you need to use ...
How To Control Horizontal Alignment in Table Cells? By default, text in all table cells are aligned ...
What Is a "dl" Tag/Element? A "dl" element is block level element that can be used to define a defin...
Where to find tutorials on Python programming language? I want to learn Python. Here is a large coll...