Computer Science, asked by anurag7367, 1 year ago

how are external style sheets used

Answers

Answered by Anonymous
2

To use an external style sheet, add a link to it in the <head> section of the HTML page:


Example:

<!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>

Similar questions