Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

CSS QUESTIONS : PART 1

Which of the following property is used to add or subtract space between the letters that make up a word?

 letter-spacing

 color

 direction

D - word-spacing

SHOW ANSWER

Which of the following property is used to capitalize text or convert text to uppercase or lowercase letters?

text-indent

 text-align

 text-decoration

 text-transform

SHOW ANSWER

Which of the following property changes the color of bottom border?

border-color

border-style

border-width

border-bottom-color

SHOW ANSWER

Which of the following property serves as shorthand for the padding properties?

 padding

 padding-top

padding-left

padding-right

SHOW ANSWER

What does CSS stand for?

  Colorful Style SheeT

Computer Style Sheets  

 

Cascading Style Sheets

 

Creative Style Sheets

 

SHOW ANSWER

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

<style src="mystyle.css">

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

<stylesheet>mystyle.css</stylesheet>

SHOW ANSWER

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

In the <head> section

At the end of the document

In the <body> section

SHOW ANSWER

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

<css>

<style>

 <script>

SHOW ANSWER

Which HTML attribute is used to define inline styles?

  class

styles

font

style

SHOW ANSWER

Which is the correct CSS syntax?

{body:color=black;}

body:color=black;

{body;color:black;}

 body {color: black;}

SHOW ANSWER

Which property is used to change the background color?

color

background-color

bgcolor

SHOW ANSWER

How do you add a background color for all <h1> elements?

all.h1 {background-color:#FFFFFF;}

h1 {background-color:#FFFFFF;}

h1.all {background-color:#FFFFFF;}

SHOW ANSWER

Which CSS property is used to change the text color of an element

fgcolor

text-color

 color

SHOW ANSWER
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in