CSS Multiple choices


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

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


 

 

 

 



B


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

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

2

Which HTML attribute is used to define inline styles?

3

Which is the correct CSS syntax?

4

How do you insert a comment in a CSS file?

5

Which property is used to change the background color?

Comments