Jagget
0
Q:

link rel stylesheet


    <head>

       
      <link rel="stylesheet" type="text/css" href="theme.css">

    </head>
 
20

    <head>

       
      <link rel="stylesheet" href="styles.css">

    </head>
 
0
<link rel="stylesheet" type="text/css" href="style.css">
1

  <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" 
  href="mystyle.css">
</head>
<body>

<h1>This is a heading</h1>

  <p>This is a paragraph.</p>

</body>
</html> 
5
<!DOCTYPE html>
<html>
<head>

  <link rel="stylesheet" href="styles.css">

</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html> 
0
The REL attribute is used to define the relationship between 
the linked file and the HTML document. 
REL=StyleSheet specifies a persistent or preferred style while 
REL="Alternate StyleSheet" defines an alternate style. 
A persistent style is one that is always applied when style sheets are enabled. The absence of the TITLE attribute, as in the first <LINK> tag in the example, defines a persistent style.

A preferred style is one that is automatically applied, 
such as in the second <LINK> tag in the example. 
The combination of REL=StyleSheet and a TITLE attribute specifies a 
preferred style. Authors cannot specify more than one preferred style.

An alternate style is indicated by REL="Alternate StyleSheet". 
The third <LINK> tag in the example defines an alternate style, 
which the user could choose to replace the preferred style sheet.
0
    <link rel="stylesheet" type="text/css" href="<?php echo CHEMIN_VUES?>css/style.css">
-1

New to Communities?

Join the community