CSS Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - CSS

What is the correct HTML for referring to an external style sheet?


 

 

 

 



A


Solution:-

An external style sheet usually writes in the <head> section. 

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

Above is the correct syntax for importing an external CSS file.

The REL attribute defines the relationship that the linked resource has to be a document from which it is referenced.




Next 5 multiple choice(s)

1

Where in an HTML document is the correct place to refer to an external style sheet?

2

Which HTML tag is used to define an internal style sheet?

3

Which HTML attribute is used to define inline styles?

4

Which is the correct CSS syntax?

5

How do you insert a comment in a CSS file?

Comments