HTML and CSS Reference
In-Depth Information
target The value of the target attribute defines the frame or window name that has the
defined linking relationship or that will show the rendering of any linked resource.
type This attribute is used to define the type of the content linked to. The value of the
attribute should be a MIME type, such as text/html , text/css , and so on. The common
use of this attribute is to define the type of style sheet linked, and the most common current
value is text/css , which indicates a CSS format.
<link href="products.html" rel="parent">
<link href="corpstyle.css" rel="stylesheet" type="text/css" media="all">
<!-- XHTML syntax -->
<link href="corpstyle.css" rel="stylesheet" type="text/css" media="all" />
<link href="nextpagetoload.html" rel="next>
<!-- HTML5 icon examples -->
<link rel=icon" href="icon.png" sizes="16x16">
<link rel=icon" href="icon2.png" sizes="16x16 32x32">
<link rel=icon" href="icon3.svg" sizes="any">
HTML 2, 3.2, 4, 4.01, 5
XHTML 1.0, 1.1, Basic
Firefox 1+, Internet Explorer 3+,
Netscape 4+, Opera 4+, Safari 1+
• As an empty element under XHTML, or when using XML-style syntax for HTML5,
a trailing slash is required for this element: <link /> .
• A <link> tag can occur only in the head element; however, there can be multiple
occurrences of <link> .
• HTML 3.2 defines only the href , rel , rev , and title attributes for the link
• HTML 2 defines the href , methods , rel , rev , title , and urn attributes for the
link element. The methods and urn attributes were later removed from the
<listing> (Code Listing)
This deprecated element from HTML 2 is used to indicate a code listing; it is no longer part
of the HTML standard. Text tends to be rendered in a smaller size within this element. A
<pre> tag should be used instead of this element.
Standard Syntax (HTML 2 Only; Deprecated)
Search WWH ::

Custom Search