WDD Viva Questions
WDD Viva Questions
WDD Viva Questions
The HTML contains six types of headings which are defined with the <h1> to <h6> tags. Each
type of heading tag displays different text size from another. So, <h1> is the largest heading tag
and <h6> is the smallest one
The HTML provides an anchor tag to create a hyperlink that links one page to another page.
These tags can appear in any of the following ways:
3) What are some common lists that are used when designing a page?
There are many common lists which are used to design a page. You can choose any or a
combination of the following list types:
o Ordered list - The ordered list displays elements in numbered format. It is represented by
<ol> tag.
o Unordered list - The unordered list displays elements in bulleted format. It is represented
by <ul> tag.
o Definition list - The definition list displays elements in definition form like in dictionary.
The <dl>, <dt> and <dd> tags are used to define description list.
No, you can use hyperlinks on text and images both. The HTML anchor tag defines a hyperlink
that links one page to another page. The "href" attribute is the most important attribute of the
HTML anchor tag.
Syntax
<a href = "..........."> Link Text </a>
5)What is a style sheet? A style sheet is used to build a consistent, transportable, and well-
designed style template. You can add these templates on several different web pages. It
describes the look and formatting of a document written in markup language.
6)Is it possible to change the color of the bullet?
The color of the bullet is always the color of the first text of the list. So, if you want to change
the color of the bullet, you must change the color of the text
To make a picture a background image on a web page, you should put the following tag code
after the </head> tag.
<body background = "image.gif">
o mp4
o WebM
o Ogg
It is a string that identifies the elements to which a particular declaration apply. It is also referred
as a link between the HTML document and the style sheet. It is equivalent of HTML elements.
There are several different types of selectors in CSS: -
o CSS Element Selector
o CSS Id Selector
o CSS Class Selector
o CSS Universal Selector
o CSS Group Selector
o Selector
o Property
o Value
The background-color property is used to specify the background color of the element.
An overall block is given to class selector while id selectors take only a single element differing
from other elements.
15)What is the difference between inline, embedded and external style sheets?
Inline: Inline Style Sheet is used to style only a small piece of code.
Embedded: Embedded style sheets are put between the <head>...</head> tags.
External: This is used to apply the style to all the pages within your website by changing just
one style sheet.
16)What is JavaScript?
The function which has named at the time of definition is called a named function.
18)If we want to return the character from a specific index which method is used?
The JavaScript string charAt() method is used to find out a char value present at the specified
index. The index number starts from 0 and goes to n-1, where n is the length of the string. The
index value can't be a negative, greater than or equal to the length of the string.
The == operator checks equality only whereas === checks equality, and data type, i.e., a value
must be of the same type.
Undefined value: A value that is not defined and has no keyword is known as undefined value.
Null: The Null data type is used to represent a non-existent, null, or a invalid value i.e. no value
at all.
No, Java and JavaScript are the two different languages. Java is a robust, secured and object-
oriented programming language whereas JavaScript is a client-side scripting language with some
limitations.
o Alert Box
o Confirm Box
o Prompt Box
28)What is Bootstrap?
Bootstrap is a platform for web development based on a front-end framework. It is used to create
exceptional responsive designs using HTML, and CSS. These templates are used for forms,
tables, buttons, typography, models, tables, navigation, carousels and images. Bootstrap also has
Javascript plugins, which are optional. Bootstrap is mostly preferred for developing mobile web
applications
Bootstrap includes a responsive, mobile-first fluid grid system that appropriately scales up to 12
columns as the device or viewport size increases. It includes predefined classes for easy layout
options, as well as powerful mixins for generating more semantic layouts
A bootstrap container is a class which is useful and creates a central area within the page where
our site content can be put within. The advantage of the bootstrap .container is that it is
responsive and will place all our other HTML code.