WEB BROWSERS TECHNOLOGY
WHAT IS WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following is the correct CSS link tag?
|
<link rel="styles” href="stylesheet.css">
|
|
<link href="stylesheet">
|
|
<link rel="stylesheet” src="styles.css">
|
|
<link rel="stylesheet” href="styles.css">
|
Explanation:
Detailed explanation-1: -To link your CSS to your HTML, you have to use the link tag with some relevant attributes. The link tag is a self-closing tag you should put at the head section of your HTML.
Detailed explanation-2: -The rel attribute defines the relationship between the current page and the linked page or resource. A rel="stylesheet” value specifies that the stylesheet file will be loaded into the current page. The URL for the CSS stylesheet is specified by the href attribute.
Detailed explanation-3: -The href attribute specifies the location (URL) of the external resource (most often a style sheet file).
There is 1 question to complete.