Tools, FAQ, Tutorials:
HTML 'base' Tag/Element
What Is the HTML "base" Tag/Element?
✍: 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/HTML/" /> <title>My First XHTML Document</title> </head> <body> <p><img src="/_icon_HTML.png" alt="HTML" /></p> </body> </html>
If you view this document in a browser, the image will be fetched from http://dev.fyicenter.com/HTML/_icon_HTML.png.
⇒ HTML 'script' Tag/Element in 'head' Element
⇐ HTML Author 'meta' Tag/Element
2017-06-23, ∼3024🔥, 0💬
Popular Posts:
How To Remove Slashes on Submitted Input Values in PHP? By default, when input values are submitted ...
How to install "C++/CLI Support" component in Visual Studio? I need to build my Visual Studio C++/CL...
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...
FYIcenter.com Online Tools: FYIcenter JSON Validator and Formatter FYIcenter JSON to XML Converter F...
When using "@(...)" expressions in XML attributes as part of an policy statement, do I need to worry...