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:
What Is the Base Tag/Element
What Is the Base Tag/Element? - XHTML 1.0 Tutorials - Document Structure and Head Level Tags
✍: FYIcenter.com
The "base" element is an optional sub-element of the "head" element. The "base" element specifies a base URL for all the hyper links in XHTML document. It has one required attribute called "href" to allow you to specify the base URL. Here is an example:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <base href="http://dev.fyicenter.com/faq/" /> <title>My First XHTML Document</title> </head> <body> <p><img src="/images/fyi.gif"" alt="FYI" /></p> </body> </html>
If you view this document in a browser, the image will be fetched from http://dev.fyicenter.com/faq/images/fyi.gif.
2007-05-12, 4614👍, 0💬
Popular Posts:
How To Build WHERE Criteria with Web Form Search Fields? - MySQL FAQs - Managing Tables and Running ...
Can include files be nested? The answer is yes. Include files can be nested any number of times. As ...
.NET INTERVIEW QUESTIONS - What is COM ? Microsoft’s COM is a technology for component software deve...
What is the quickest sorting method to use? The answer depends on what you mean by quickest. For mos...
What is the difference between mysql_fetch_object() and mysql_fetch_array() functions in PHP? mysql_...