The REL and you can REV functions identify the sort of the relationships within data while the connected investment

The REL and you can REV functions identify the sort of the relationships within data while the connected investment

The web link element talks of file matchmaking

Any number of Hook up elements tends to be part of the Head from a document. Of many internet browsers lack assistance to own Hook up, very article writers should not count on the brand new web browser deciding to make the website links offered to an individual.

REL defines a link dating on most recent document into the linked funding if you are REV defines a relationship regarding the contrary guidance. Instance,

suggests that the modern document was an effective subsection from pub.html. The worth of the brand new REL and you may REV attributes are a space-split list of connect models.

A document you can expect to identify these relationships as follows:

Commonly used relationship range from the 2nd or prior document inside a good series, the fresh new creating web page inside the a couple of data files, a file that have copyright information, and information about the writer.

Once the value of REL and you can REV is actually situation-insensitive, the latest Lynx web browser can make the connection exactly as offered by the fresh creator. Authors will be thus be consistent inside their case, and might need to capitalize the first page when using lowercase into the other people.

People also can utilize the Connect function to put on an external layout sheet. REL=StyleSheet specifies a chronic or prominent build when you find yourself REL=”Alternative StyleSheet” defines a special concept. A theme is but one that is usually used when build sheets are enabled. Its lack of the fresh new Term attribute indicates a chronic layout.

A style is but one that is instantly used. The blend away from REL=StyleSheet and you will a name attribute specifies a favorite style. Article authors dont establish one or more common concept.

An style is expressed by REL=”Choice StyleSheet”. The user you will definitely always replace the preferred build sheet which have a different sort of you to, in the event latest web browsers fundamentally lack the power to prefer alternate appearance.

Within this analogy, around three layout sheets was combined into the you to “Contemporary” trend that is applied while the a popular layout layer. To combine numerous design sheet sets with the an individual concept, for every single layout sheet’s Connect have to make use of the exact same Label.

LINK’s Mass media feature determine brand new news whereby the brand new connected investment was created. That have REL=StyleSheet, this allows people so you’re able to limit a style layer to particular yields devices, for example printers or aural browsers. New attribute’s well worth was an excellent comma-split listing of news descriptors. The second news descriptors was laid out within the HTML cuatro and tend to be case-sensitive:

  • display screen, having low-paged computers screens;
  • tty, to own repaired-slope character grid screens (for instance the monitor used by Lynx);
  • tv, having television-form of devices which have reasonable quality and you will restricted scrollability;
  • projection, for projectors;
  • portable, to possess portable equipment (described as a tiny display screen and minimal data transfer);
  • printing, having yields in order to good printer;
  • braille, getting braille tactile viewpoints devices;
  • aural, having speech synthesizers;
  • every, for all devices.

Netscape cuatro. x improperly ignores any kind layer associated with a medium well worth except that screen. Such as for instance, MEDIA=”screen, projection” will cause the idea piece become neglected of https://datingranking.net/de/vietnamesische-datierung/ the Netscape cuatro. x , even when the demonstration device is a pc screen. Netscape 4. x together with ignores layout sheet sets stated that have Mass media=every.

This new elective HREFLANG and you may CHARSET top features of Connect supply the words and you can profile encryption, correspondingly, of the hook. The language are going to be specified considering RFC 1766; for example en getting English, en-Us to have American English, and ja to have Japanese. Types of reputation encodings tend to be ISO-8859-step 1, Shift_JIS, and you can UTF-8.

The fresh Approach link matchmaking defines a separate brand of new document. Translations off a page should be recognized by having fun with REL=Solution along with the HREFLANG attribute. Items of your page tailored for particular media should be offered from the merging REL=Solution toward News feature. A few examples pursue:

Remember that new LANG and DIR functions apply to the words of your own Term trait, never to the message of link.

The goal attribute is used which have structures to specify new physical stature where in fact the hook might be rendered. In the event that zero body type having such a name can be acquired, the web link try made when you look at the another type of window until overridden because of the the consumer. Unique figure labels start with an enthusiastic emphasize:

From inside the HTML 4, the prospective characteristic worth try instance-insensitive, in order that _most useful and you can _Most useful both have the same definition. But not, extremely browsers clean out the prospective feature really worth because case-sensitive and do not recognize _Top given that having the unique meaning of _better.

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *