Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Define a Hyper Link
How To Define a Hyper Link? - XHTML 1.0 Tutorials - Understanding Hyper Links and URLs
✍: FYIcenter.com
If you want to define a hyper link in your XHTML 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:
2007-05-12, 5174👍, 0💬
Popular Posts:
What is the difference between Authentication and authorization? This can be a tricky question. Thes...
How To Use "IN OUT" Parameter Properly? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and F...
What's the output of the following program? And why? #include main() { typedef union { int a; char b...
How Many Tags Are Defined in HTML 4.01? There are 77 tags defined in HTML 4.01: a abbr acronym addre...
Can we get a strongly typed resource class rather than using resource manager? In the previous quest...