Tools, FAQ, Tutorials:
Defining an HTML Hyper Link
How To Define a Hyper Link?
✍: FYIcenter.com
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, 1606🔥, 0💬
Popular Posts:
How To Convert a Character to an ASCII Value? If you want to convert characters to ASCII values, you...
How To Read the Entire File into a Single String in PHP? If you have a file, and you want to read th...
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...
How to convert JSON Objects to PHP Associative Arrays using the json_decode() function? Actually, JS...
How to use the "Ctrl-p Ctrl-q" sequence to detach console from the TTY terminal of container's runni...