Download as pdf or txt
Download as pdf or txt
You are on page 1of 36

Enrollment no * / 0

458745845

Add individual feedback

HTML Stands for - * 1 / 1

HighText Machine Language

HyperText and links Markup Language

HyperText Markup Language

None of these

Add individual feedback

Which tag is used to create a check box? * 1 / 1

<checkbox>

<Input type="checkbox">

<type="checkbox"

None of the above

Add individual feedback


From which tag descriptive list starts ? * 1 / 1

<ll>

<dl>

<ldl>

<dd>

Add individual feedback

Tick the attribute of form tag. * 1 / 1

Action

Method

Both Action and Method

None of the above

Add individual feedback

Which HTML tag produces the biggest heading? * 1 / 1

<h6>

<h2>

None of the above

<h1>

Add individual feedback


Which HTML elements are non-semantic elements? * 1 / 1

<div>

<form>

<table>

<article>

Add individual feedback

Who is making the Web standards? * 1 / 1

Microsoft

Google

The World wide web consortium

Mozilla

Add individual feedback

What is the correct HTML for adding a background color? * 1 / 1

<body style="background-color:yellow;">

<body bg="yellow">

<background>yellow</backgroumd>

Add individual feedback


Which character is used to indicate an end tag? * 1 / 1

<

Add individual feedback

How can you open a link in a new tab/browser window? * 1 / 1

<a href="url" new>

<a href="url" target="_blank">

<a href="url" target="new">

Add individual feedback

What is the correct HTML for making a drop-down list? * 1 / 1

<list>

<input type="dropdown">

<select>

<input type="list">

Add individual feedback


The execution of a function stops when the program control encounters the 1 / 1
_________ statement in the body of the function. *

return statement

continue statement

break statement

goto statement

Add individual feedback

What is the correct HTML for inserting an image? * 1 / 1

<img href="image.gif" alt="MyImage">

<img alt="MyImage">image.gif</img>

<image src="image.gif" alt="MyImage">

<img src="image.gif" alt="MyImage">

Add individual feedback

If "var EXM = {}" than what is the type of EXM? * 1 / 1

undefined

string

boolean

object

Add individual feedback


Who is Known as the father of World Wide Web (WWW)? * 1 / 1

Robert Cailliau

Tim Thompson

Charles Darwin

Tim Berners-Lee

Add individual feedback

Which of the following is a block element? * 1 / 1

<b>

<i>

<p>

<u>

Add individual feedback

How more than one option can be selected in drop down? * 1 / 1

Use of multiple attribute inside <option> tag.

Use of multiple attribute inside <select> tag.

use of multiple attribute inside <text> tag.

It is not possible to select more than one option in drop down.

Add individual feedback


How many HTML heading tags are there? * 1 / 1

Add individual feedback

In HTML, colors can be specified by- * 1 / 1

RGB

RGBA

HEX

All of the above

Add individual feedback

Which one of the following tag is used for creating a hyperlink? * 1 / 1

<link>

<hyperlink>

<a>

<title>

Add individual feedback


Which attribute is used to give destination address in <a> tag of HTML? * 1 / 1

href

src

href and src both

target

Add individual feedback

The tags in HTML are - * 1 / 1

case-sensitive

in upper case

not case sensitive

in lowercase

Add individual feedback

In HTML5, which of the following tag is used to initialize the document type? 1 / 1
*

<Doctype html>

<Doctype html5>

<!DOCTYPE html>

<!DOCTYPE html5>

Add individual feedback


Which is the correct way to comment out something in HTML? * 1 / 1

Using ## and #

Using <!-- and -->

Using </-- and -/->

Using <!-- and -!>

Add individual feedback

Which HTML tag is used to display the power in expression, i.e., (x^2 - y^2)? * 1 / 1

<sup>

<sub>

<p>

None of the above

Add individual feedback

Adding the style attributes in HTML elements, is known to be * 1 / 1

Internal

Inline

Outline

External

Add individual feedback


In HTML elements, CSS can be added in different * 1 / 1

2 ways

3 ways

4 ways

5 ways

Add individual feedback

The recommendation of using attributes in HTML is to use it in * 1 / 1

Uppercase

Lower case

Sentence case

Proper case

Add individual feedback

The 'alt' attribute of <img> tag specifies an alternatives text to be used, 1 / 1


when *

image is displayed

image is not displayed

image is shared

image is not shared

Add individual feedback


CSS stands for - * 1 / 1

Cascade style sheets

Color and style sheets

Cascading style sheets

None of the above

Add individual feedback

Which of the following is the correct syntax for referring the external style 1 / 1
sheet? *

<style href = example.css>

<style src = "example.css" >

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

<link rel="stylesheet" type="text/css" src="example.css">

Add individual feedback

The property in CSS respectively used to change the text color & 1 / 1
background color of an element is - *

color, background-color

color, bgcolor

text-color, background

text-color, background-color

Add individual feedback


The CSS property used to control the element's font-size is - * 1 / 1

text-style

text-size

font-size

font-style

Add individual feedback

The CSS property used to make the text bold is - * 1 / 1

font-weight : bold

text- weight: bolder

font-bold: true

style: bold

Add individual feedback

which of the following command is used to open a link in a new browser 1 / 1


windows? *

<a href = "url" target = "new">

<a href = "url" target = "_blank">

<a href = "url" target = "parent">

none of these

Add individual feedback


Which of the following is not a type of combinator? * 1 / 1

>

Add individual feedback

The CSS property used to specify the transparency of an element is - * 1 / 1

Hover

Opacity

Clearfix

Overlay

Add individual feedback


If we want define style for an unique element, then which css selector will 0 / 1
we use ? *

id

text

class

name

Correct answer

id

Add individual feedback

If we don't want to allow floating div to the left side of an element, which css 1 / 1
property will we use? *

margin

clear

float

padding

Add individual feedback


If we want to wrap a block of text around an image, which css property will 1 / 1
we use ? *

wrap

push

float

align

Add individual feedback

If we want to show an Arrow as cursor, then which value we will use ? * 1 / 1

default

pointer

arrow

arr

Add individual feedback

If we want to use a nice looking green dotted border around an image, 1 / 1


which css property will we use? *

border-color

border-decoration

border-style

border-line

Add individual feedback


Which attribute can be added to many HTML elements to identify them as a 1 / 1
member of a specific group ? *

id

div

class

span

Add individual feedback

When we write <img src="img.png">, what "img.png" inside double quote 1 / 1


implies? *

element

attribute

value

operator

Add individual feedback

How can we write comment along with CSS code ? * 1 / 1

/* a comment */

// a comment //

/ a comment /

<' a comment'>

Add individual feedback


Which css property you will use if you want to add some margin between a 1 / 1
DIV's border and its inner text ? *

spacing

margin

padding

inner-margin

Add individual feedback

By default Hyperlinks are displayed with an underline. How do you remove 1 / 1


the underline from all hyperlinks by using CSS code ? *

a {text: no-underline;}

a {text-decoration:none;}

a {text-decoration: no-underline;}

a {text-style: no-underline;}

Add individual feedback

Apart from <b> tag, what other tag makes text bold ? * 1 / 1

<fat>

<strong>

<black>

<emp>

Add individual feedback


How can you make a bulleted list with numbers? * 1 / 1

<dl>

<ol>

<list>

<ul>

Add individual feedback

HTML web pages can be read and rendered by _________. * 1 / 1

Compiler

Server

Web Browser

Interpreter

Add individual feedback

Which of the following is not a browser ? * 1 / 1

Microsofts Bing

Netscape Navigator

Mozilla Firefox

Opera

Add individual feedback


Pseudo-classes In CSS * 1 / 1

Match A Specified Element

Select The Active Links

Are Used To Select All The Visited Links

Are Used To Define A Special State Of An Element

Add individual feedback

Which CSS Property Sets The Stack Order Of An Element? * 1 / 1

Z-index

Position

Overflow

Clip

Add individual feedback

Which CSS Property Sets A Background Image For An Element? * 1 / 1

Background - Color

Background - Image

Background - Attachment

None of These

Add individual feedback


The Default Value Of "position" Attribute Is * 1 / 1

Fixed

Absolute

Inherit

Static

Add individual feedback

If a particular rule should never be overridden by another rule, the 1 / 1


____________ indication should be used. *

!important!

@important

!important

important!

Add individual feedback

Which of the following css property is used to define a delay before an 1 / 1


animation starts? *

transform-delay

delay-function

delay-animation

animation-delay

Add individual feedback


What does this code do? * 1 / 1

If the browser window is smaller than 500px, the background color will change to lightblue:

If the browser window is larger than 500px, the background color will change to lightblue:

The background color will change to lightblue

Nothing happens

Add individual feedback

Which of the following selector is used to selects siblings? * 1 / 1

::after

E~F

E*F

::before

Add individual feedback


As a general rule, properties in CSS inherit from ___________ elements. * 1 / 1

child to parent

parent to child

none of the above

Add individual feedback

A ___________ is used to define a special state of an element. * 1 / 1

pseudo-tag

pseudo-element

pseudo-id

pseudo-class

Add individual feedback

Which of the following selectors selects direct descendants? * 1 / 1

E>F

EF

E+F

E~F

Add individual feedback


Find the specificity of this “ul ol li.red”. * 1 / 1

specificity = 0,0,3,1

specificity = 0,0,1,3

specificity = 1,1,1,1

specificity = 1,2,2,1

Add individual feedback

Which of the following is not a CSS preprocessor? * 1 / 1

LESS

SASS

STYLUS

SCREENFLY

Add individual feedback

Which CSS property allows you to control the spacing between html items? 1 / 1
*

spacing

padding

margin

none of the given

Add individual feedback


Which is not valid data type in Javascript? * 1 / 1

undefinded

boolean

float

number

Add individual feedback

Which type of language is Javascript? * 1 / 1

Scripting

Markup

none of the above

Add individual feedback

Which tag is used to write the Javascript code? * 1 / 1

<script>

<sp>

<javascript>

<link type="text/javascript" href="demo.js">

Add individual feedback


Output is ? * 1 / 1

11

14

18

none of above

Add individual feedback

Purpose of designing the Javascript ? * 1 / 1

To Perform Server Side Scripting Operation

To add interactivity to HTML Pages

To Style HTML Pages

All of the above

Add individual feedback


Which of the following function of Array object removes the last element 1 / 1
from an array and returns that element? *

push()

delete()

pop()

link()

Add individual feedback

A Javascript developed in Unix machine........... * 1 / 1

will throw errors and exceptions

must be restricted to a Unix Machine only C.

will be displayed as a JavaScript text on the browser

will work perfectly well on a Windows Machine

Add individual feedback


Output is - * 1 / 1

DPat

Pate

Patel

Dpate

Add individual feedback

Output is - * 1 / 1

Error.

Add individual feedback


What are the types of Pop up boxes available in JavaScript? * 1 / 1

Prompt

Alert

Confirm

All of the above

Add individual feedback

Which of the following function of String object returns the characters in a 1 / 1


string between two indexes into the string? *

substring()

substr()

string()

count()

Add individual feedback

A function definition expression is known as * 1 / 1

Function calls

Function definition

Function calling

Function literal

Add individual feedback


What kind of expression is “new Point(2,3)”? * 1 / 1

Constructor Calling Expression

Invocation Expression

Object Creation Expression

Primary Expression

Add individual feedback

Which of the following is the correct syntax to display 1 / 1


“ADPatelInstituteOfTechnology” in an alert box using JavaScript? *

alertbox("ADPatelInstituteOfTechnology");

message("ADPatelInstituteOfTechnology");

alert(“ADPatelInstituteOfTechnology”);

All of the above

Add individual feedback

Which one is Ternary Operator? * 1 / 1

Condition?exprIfTrue*exprIfFalse(?*)

Condition?exprIfTrue:exprIfFalse(?:)

Condition?exprIfTrue>exprIfFalse(?>)

Condition?exprIfTrue<exprIfFalse(?<)

Add individual feedback


The "function" and " var" are known as: * 1 / 1

None of these

Data types

Declaration statements

Prototypes

Add individual feedback

Choose the correct JavaScript syntax to change the content of the 1 / 1


following HTML code. *

document.getElementByTagName(“adpatel").innerHTML = I am a letsfindcourse;

document.getElementById (“adpatel").innerHTML = "I am a letsfindcourse";

document.getId (“adpatel") = "I am a letsfindcourse";

document.getElementById (“adpatel").innerHTML = I am a letsfindcourse;

Add individual feedback

What is the correct syntax for referring to an external script called "index.js"? 1 / 1
*

<script src="index.js">

<script source="index.js">

<script ref="index.js">

<script href="index.js">

Add individual feedback


Which of the following is not Javascript frameworks or libraries? * 1 / 1

React

jQuery

cassandra

D3

Add individual feedback

Why so JavaScript and Java have similar name? * 1 / 1

JavaScript is a stripped-down version of Java

JavaScript's syntax is loosely based on Java's

They both originated on the island of Java

None of the above

Add individual feedback

What is the original name of JavaScript? * 1 / 1

LiveScript

EScript

Mocha

JavaScript

Add individual feedback


What does javascript use instead of == and !=? * 1 / 1

It uses bitwise checking

It uses === and !== instead

It uses equals() and notequals() instead

It uses equalto()

Add individual feedback

when an empty statement comes what JS interpreter does? * 1 / 1

prompts to complete the statement

Throws runtime error

Ignores that statement

None of the above

Add individual feedback

Which operator is known as the strict equality operator, which checks 1 / 1


whether its two operators are identical or not? *

==

===

&&

Add individual feedback


State whether the following statements are True or False for strict equality 1 / 1
operator(= = =). [1]."If the two values have different types they are equal." [2]
"If both values are null or both values are undefined, they are equal." *

[1].True [2].False

[1].True [2].True

[1].False [2].False

[1].False [2].True

Add individual feedback

What among the following is an appropriate when an event occurs when the 1 / 1
user clicks on an element? *

onclick

MouseClick

onmouseclick

ontap

Add individual feedback

What is the full form DOM? * 1 / 1

Document Object Model

Document Onhalt Model

Document Oriented Model

Document Oriented Management

Add individual feedback


What is the purpose of the Legacy DOM? * 1 / 1

Modify the nodes

Making the script modular

Allows access to few keys and elements

Makes the scripting easier

Add individual feedback

Which object is the top of the hierarchy? * 1 / 1

Form Control Elements

Document Object

Form Object

Window Object

Add individual feedback

How are the objects organized in the HTML DOM? * 1 / 1

list

stack

queue

Hierarchy

Add individual feedback


Which of the following function of String object combines the text of two 1 / 1
strings and returns a new string? *

add()

merge()

concat()

append()

Add individual feedback

Which of the following function of String object returns the index within the 1 / 1
calling String object of the last occurrence of the specified value? *

lastIndexOf()

lastindex()

substr()

index()

Add individual feedback

Which of the following type of variable takes precedence over other if 1 / 1


names are same? *

global variable

local variable

Both of the above.

None of the above.

Add individual feedback


Which built-in method sorts the elements of an array? * 1 / 1

changeOrder(order)

order()

sort()

None of the above.

Add individual feedback

Which of the following function of Array object adds one or more elements 1 / 1
to the end of an array and returns the new length of the array? *

pop()

push()

join()

map()

Add individual feedback

Submitted 7/10/21, 9:41 PM

You might also like