TCS PA UI MCQs
1.Syntax of background image in CSS ?background-image
2.All html tags have closing tags ?
false
3.what is command for ordered list with roman number ?
<oltype='I'>
4.Which is not CSS unit ?
1.em
2.ut
3.%
4.px
5.p{ color: green }
<p>xyz</p>
Paragraph is printed in which color
1.Green
2.Red
3.Blue
4.Error
6.Emphasing the text in html ... ?
<em>
7.Tag which is not for formatting text ?
1.<b>
2.<p>
3.<Strong>
4.<i>
8.which is the invalid field in HTML5 ?
1.Day
2.Date
3.Datetime
4.Month
9.Which is invalid escape sequence in JavaScript ?
1./r
2./b
3./f
4./e
10.you have created a shell script and wants to run the script . what should you do before try to run
the script ?
1.No action required
2.Compile the script..........
3.Update the execute permission of the script
11.Caption tag is used with ...
1.Image
2.Table
3.Both
4.None
12.Text-align:justify... ?
1.Left
2.Right
3.Center
4.None of these correct answer [Stretches the lines so that each line has equal width])
13. a:link,a:visited {background-color : red;}
a:hover {background-color : green}
<a href= "abc.html">Click me </a>
1.will create a button having background color red
2. will create a link having background color red and on moving the pointer background color will be green
3.will create a link having background color green
4. will create a button having background color red and on moving the moving the pointer color will change to green
14.Question from javascript section ,’var x=100+5**3 ? ‘
1.125
2.225
3.NAN
15.Which tag is used to emphasize the text.. ?
1.<b>
2.<strong>
3.<emph> or <em>
16.<p>top news </p
><blockquote url: Hindu news.com</blockquote>
Todays news block quote display or not ?
1.True
2.False
17.Which is not inline in html ?
1.<hr>
2.<br>
3.<img>
4.<a>
18.Array in javascript.. ?
1.List form[]
2.Tuple form()
3.Dictionary form{}
4.None of these
19.Color in html not valid .. ?
1.Color: darkblue
2.Color :#000ff
3.Color : rgb(0,0,255)
4.Color :blue
20.<imgurl="sky.jpg" width="100" height="100" opacity="0.25".> ?
1.Display with mentioned width and height
2.Display image as watermark
3.None of these
21.Appearence of <ins> tag ?
1.Italics
2.Underline
3.Bold
4.Unformatted
22.A link can be image or any other html element ?
1.True
2.false
23.Svg is used for ?
1.drawing lines , graphics etc.
2.for sound to pause, play etc.
24.<span> is used for ?
1.to select inline block
2.to group elements for styling purposes.
25.Which property is not applicable for paragraph ?
1.float
2.border
3.margin
4.font-family
26.Which block of code will be executed ?
1. p{<!--commentcolor: red;}
2. p{/* comment */ color: red;}
3. p{// commentcolor: red;}
4. p{# commentcolor: red}
27.Which of below block is used to style Xplore <h1> tag ?
(<h1 class="Xplore">)
1.h1{.....}
2.xplore.h1{.....}
3.h1{....}
4.h1.xplore{....}
28.<p class="abc"></p>
<script>var x ;
document.getElementByClass("abc").innerHTML= x;
</script>
What is output of code ?
1) NaN
2) 0
3) 14
) error
29.JavaScript run using ScriptEngine?
1.True
2.False
30.Which of these statement is correct in JavaScript?
1.true and false are numeric values 1 and 0.
2.true and false are numeric values 0 and 1.
3.true is any nonzero value and false is 0.
4.true and false are non numeric values.
31.<p class="A">ABC</p>how to style ABC?
1. .A{color: red;}
2. #A{color: red;}
3. *A{color: red;}
4. A{color: red;}
32.Which is not CSS properties?
1.background-render
2.background-attachment
Comments
Post a Comment