Link an external style sheet to a web page

By [)ia6l0 iii

Use the link attribute to link a style sheet to your web page

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

Related FAQs

Below is a short list of disadvantages of using inline styles
Margins are specified using the margin-top, margin-bottom, margin-left and margin-bottom properties. CSS allows you to specify these properties through a shorthand notation too.
You might use more than one rule through CSS on a single element. In such cases, you might like to define the precedence order on the rules.
In CSS , we specify the color using the hexadecimal notation: # followed by the six digits.
An inline style is applied through the "Style" attribute to the element.
Padding properties are specified using the Padding-Top, Padding-Bottom , Padding-Left and Padding-Right. CSS allows you to use a shorthand technique to specify these.
Link an external style sheet to a web page  (945 Views)