100% found this document useful (1 vote)
156 views5 pages

Ui

- The document contains multiple choice questions about HTML, CSS and JavaScript. It tests knowledge on topics like CSS units, background images, ordered lists, colors, links, arrays, tags and their uses, DOM manipulation, pseudo-classes and more. The last question is about opening Google in a new window using anchor tag with target blank.

Uploaded by

khyati
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
156 views5 pages

Ui

- The document contains multiple choice questions about HTML, CSS and JavaScript. It tests knowledge on topics like CSS units, background images, ordered lists, colors, links, arrays, tags and their uses, DOM manipulation, pseudo-classes and more. The last question is about opening Google in a new window using anchor tag with target blank.

Uploaded by

khyati
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Which is not CSS unit?

- ut

Syntax of background image in CSS?


-background-image

All HTML tags have closing tags


-False

What is command for ordered list with Roman number ?


- <ol' type='I'>

Tag which is not for formatting text ?


-<p>

p{ color:green }
<p>xyz</p>
Paragraph is printed in which color?
-green

Emphasing the text in html?


-<em>

Which is the invalid field in html5?


-Day

Text-align: justify?
-None of these

Which is invalid escape sequence in JavaScript?


-/e

You have created a shell script and wants to run the script.What would you do before try
to run the script?
-Update the execute....

a:link,a:visited {
background-color:red;
}
a:hover{
......
}
....
-will create a link having background colour red and on moving the pointer background
colour will be green
Caption tag is used with ?
-image and table both

JavaScript section,'var X=100+5**3?'


-225

<p>top news </p>


......
news.com.....
Today's news block quote display or not?
-true

Which tag is used to emphasize the text ?


-<emph> or <em>

Array in JavaScript?
-List form[]

Which is not inline in html?


-<hr>

Color in html not valid ?


-color:#oooff

<img URL="sky.jpg" width="100"height="100" opacity="0.25"?


-display image as watermark

Appearance of <ins> tag?


- underline

A link can be image or any other html element?


-True

Which property is not applicable for paragraph?


-float

Svg is used for ?


-Drawing line

<Span> is used for ?


-to group elements for styling purpos

Which block or code will be executed?


-p{
/* comment*/
color:red;
}

Which of below block is used to style?


Xplore<h1> tag?
-h1.xplore{....}

JavaScript run using Script engine ?


-true

<p class="abc"></p>
.....
....
</script>
What is output of code ?
-NaN

Which is not CSS properties?


-background-render

<p class......
How to style ABC?
-.A{color:red;}

Which of the following sequences of html tags is correct?


-html, head, title,/title,/head,body,/body,/html

CSS stands for ?


-Cascading style sheets

How would you define id selector?


- id selector as #

In an html document,which is the correct place to refer to an external style sheet?


-in the <head> section

Which of the following tags would you use to insert JavaScript in an html page?
- <script type="text...."><\script>

The_______ JavaScript is also known as server-side JavaScript?


-Live wire

The following code will allow you to set background with CSS:
<style type=...
....
<\style>
-true

If para1 is the DOM object of ......within the paragraph?


-para1.value="new text";

How does JavaScript store date in a date object?


-the number of milliseconds.....

How would you define First-line pseudo -element in CSS?


-selector: pseudo-element.....

<h2 class="fruit mango">I love fruits<\h2>


What is true about the above statement?
-it is a heading tag with..... fruit mango

Which of the following CSS syntax will be hiding the element?


-h1.hidden{
display:none;
}

I cannot create a JS array by using the 'new' keyword.


-false

Which of the following are the elements that have been added in HTML5?
- main ,header, article,footer all

Different tags cannot share same class


-false

The <div> element is a block - level element.


-False

Which option/options correctly represent the code of creating and initializing a string
variable?
-var st1="Hello";

Which of the following option will open the Google website in a new window?
-html
Body
<a href="https://...."target="_blank">Click here<\a>
/Body
/Html

What does display property with a value of "block" results in?


-a line break...... elements

Which of the following is correct declaration in CSS?


-h1{
text-decoration:overline;
}

You might also like