How can you link an external style sheet to an html document ?
Answers
Answered by
4
To use the <link> tag to specify an external style sheet, follow these steps:
Define the style sheet. ...
Create a link element in the HTML page's head area to define the link between the HTML and CSS pages. ...
Set the link's relationship by setting the rel = “stylesheet” attribute.
Define the style sheet. ...
Create a link element in the HTML page's head area to define the link between the HTML and CSS pages. ...
Set the link's relationship by setting the rel = “stylesheet” attribute.
Answered by
2
Hi. We can link an external style-sheet to a html doc using the link open tag in the head section of the html doc. For example,
< link rel="stylesheet" src="location/of/the/stylesheet/cssfile" type="text/css" / >
Hope it helps!
Similar questions
Computer Science,
7 months ago
Business Studies,
1 year ago
Social Sciences,
1 year ago
Chemistry,
1 year ago