Q.1 ______ is used to point to a specific location in the document.
E. Break out
F. link
G. anchor
H. tag
Q.2_______
property of the navigator object retrieves the version number and platform of the
browser.
E. appVersion
F. version
G. appVer
H. ver
Q.3
_________ styles are placed inside the <head> selection of a particular
Web page source code.
A. External
B. Inline
C. Indented
D. Internal
Q.4
Identify the attribute of a span tag which is used in specifying a language
code for the content in an element, in XHTML documents.
A. lang
B. xml:lang
C. class
D. id
Q.5 The
property of CSS is used to specify the space between the element border and the
element content.
A. Max-height
B. Min-width
C. padding
D. spacing
Q.6 Which
of the following escape sequence is used in JavaScript to insert a horizontal
tab in an HTML page?
A. \n
B. \r
C. \f
D. \t
Q.7 Which
of the following options are new input types in HTML5? (Choose 3 correct
answers)
A. address
B. tel
C. e-mail
D. range
Q.8 Which
of the following options is a composite data type in JavaScript?
A. Boolean
B. Number
C. String
D. Object
Q.9 Which
of the following browsers require the -webkit- prefix to support CSS3
transitions? (Choose 2 correct answers)
A. Apple Safari 3.1
B. Mozilla Firefox
3.7
C. Google Chrome
D. Opera 10.5x
Q.10
Which of the following options are valid values that can be assigned to the
text-decoration property (choose 3 correct answers)
A. none
B. overline
C. strike-through
D. line-through
Q.11 To
use an event on a page using jQuery, in which of the following functions should
the user call the event?
A.
$(document).call()
B. $(document).ready()
C.
$(document).start()
D. $(document).run()
Q.12
Identify the correct syntax to declare a pseudo-class.
A.
Selector_name:state_name{values}
B. Selector_name:state_name
{property: value}
C.
State_name:selector_name {property: value}
D.
Selector_name:state_name{}
Q.13_______
storage keeps track of data specific to one window or tab and discards it as
soon as the user closes the tab.
A. Session
B. Applicaton
C. Local
D. Page
Q.14
_______ uses JavaScript and CSS to make dynamic web pages.
A. JavaScript
B. CSS
C. XHTML
D. DHTML
Q.15
Which attribute of the Audio tag identifies whether to replay the audio once it
has stopped?
A. autoplay
B. preload
C. loop
D. autobuffer
Q.16
Identify the correct syntax of doctype in HTML5.
A. <?DOCTYPE
html>
B. <!DOCTYPE html>
C. <!DOCTYPE
html!>
D. <?DOCTYPE html?>
Q.17 The
_______ element is a column or a selection that generally contains data linked
to the main information but not as relevant or important as the main
information.
A. <aside>
B. <nav>
C. <mark>
D. <selection>
Q.18 The
_______ element emphasizes the text as compared to its surrounding text.
A. STRONG
B. SUB
C. SUP
D. INS
Q.19
Identify the category of pattern matching where characters or symbols allow
matching characters the reappear frequently in a string.
A. Position matching
B. Character
classes
C. Repetition
D. Back
Reference
Q.20
Identify the correct method for displaying an image on a Web page.
A. <IMG
source=”sample.jph” width=”200”
height=”100”>
C. <IMG
name=”sample.jph” width=”200”
height=”100”>
B. <IMG
path=”sample.jph” width=”200”
height=”100”>
D. <IMG src=”sample.jph”
width=”200” height=”100”>
Q.21
Which of the following options are new form elements introduced in HTML5
(choose 3 correct answers)
A. Datalist
B. Progress
C. Input
D. Meter
Q.22
Which of the following meta tags indicates that the web application runs in a
full-screen mode?
A. <meta
name=?HandheldFriendly? content=?true?/>
C. <meta
name=?apple-mobile-web-app capable? content=?yes?/>
B. <meta
name=”MobileOptimized” content=”width”
/>
D. <meta
name=?Formatdetection?
content=?telephone=no?/>
Q.23
Identify the correct syntax to create a geolocation object in JavaScript.
A. <var geoloc
= windows.navigator.geolocation;>
B. <var geoloc
= window.navigator.geolocation;>
C. <var geoloc =
navigator.geolocation; >
D. <var geoloc
= navigator.window.geolocation; >
Q.24
Which of the following options is text-level semantic tag?
A. Selection
B. Aside
C. Nav
D. Mark
Q.25
Which of the following options are correct values for the target attribute of
the A element? (Choose 3 correct answer)
A. _self
B. _blank
C. _top
D. _new
Q.26
Which of the following options are new features in HTML5? (Choose 3 correct
answers)
A. <canvas>
B. <div>
C. <article>
D. <audio>
Q.27
Identify the correct syntax for specifying an inline style for the <p>
tag.
A. <p style=”font-size: 20 px;
color: red;”></p>
B. <p
fontstyle=”font-size: 20 px; color:
red;”></p>
C. <p font-size:
20 px; color: red;”></p>
D. <p
style=”font-size: 20; color: red;”></p>
Q.28
Identify the correct syntax to invoke a JavaScript function named Sum() on the
click of a button on an HTML page.
A. <input
type=”click value=’Add” on
click=”Sum();”/>
C. <input type=”
onclick value=’Add” on
click=”Sum();”/>
B. <input type=button"
value=’Add” on click=”Sum();”/>
D. <button
value=”Add” onClick=”Sum():”/>
Q.29 The
______ attribute allows the user to span a cell along a horizontal row in an
HTML table.
A. colspan
B. rowspan
C. cellspan
D. span
Q.30 The
______ tag is used for displaying information about the data.
A. html
B. meta
C. title
D. script
Q.31 identifying
the satellite navigation system that provides information about the location
from any part of the globe.
A. GSM
B. Bluetooth
C. WIFI
D. GPS
Q.32
HTML5 canvas allows the user to create quadratic curves using the ________
method.
A.
makeQuadraticCurve
B. quadraticCurveTo()
C. drawQuadraticCurve()
D. quadraticCurve()
Q.33
Identify the correct syntax of the <embed> tag to insert an external file
into an HTML page.
A. <embed
source=”sample.mp3”/>
B. <embed>
C. <embed src=”sample.mp3”/>
D. <embed
file=”sample.mp3”/>
Q.34
Identify the four components of a box model.
I. Margins, padding,
type, and content
J. Selection,
padding, borders, and content
K. Margins, padding, borders, and
content
L. Margins,
selection, borders, and content
Q.35
_______ makes the structure of grid.
A. Grid cell
B. Grid line
C. Grid track
D. Grid area
Q.36 All
grid items are placed inside ________.
A. Columns and rows
B. Grid gap
C. Grid area
D. Vertical grid
line
Q.37 What
component make a block-level grid container?
A. Display
B. Flex direction
C. Grid
D. flex item
Q.38 In a
flexbox, the start point of cross axis is ________.
A. Cross start
B. Cross begin
C. start
D. cross-start
Q.39 ________
is a form specific element.
A. datalist
B. progress
C. meter
D. output
Q.40 The
______ is a textbox control that provides a list of suggestion to select from
as a user to types.
A. Autocomplete
B. Form
C. Pattern
D. Title
Q.41 To
allow multiple addresses in the e-mail field, each address needs to be
separated with _________.
A. Double semicolon
B. Colon
C. comma
D. semicolon
Q.42 In
the <img> tag, use the _________ attribute to define the image map name.
A. image map
B. use map
C. image map
D. use-map
Q.43 An
object that represents the eventual success or failure of an asynchronous
operation is _____.
A. method
B. class
C. promise
D. handler
Q.44 To
declare a private class field, prefix the name of the class field with
______.
A. #
B. *
C. $
D. ~
Q.45 The
two features in JSON are _______.
A. Strong and
exchange
B. Serialization and
deserialization
C. Stack and unstack
D. Form and
deform
Q.46
.flex-container {display: flex ;} What this indicates?
A. This defines how
the flex items should be stacked.
C. This defines the type of flexbox
of the parent container.
B. This specifies
that flex items will wrap if required.
D. This keeps all
flex items on one line.
Q.47 John
needs to adjust the spacing before and between the flex lines. Which property
should he ideally use?
A. Flex-wrap
B. Flex-flow
C. Align content
D. Align items
Q.48 The
box model refers to the ______ another HTML element
A. selectors
B. design and layout
C. alignment
D. text styles
Q.49
Identify the correct method to assign a value sample.jpg to the src attribute
of the IMG tag having id img1 using the document object.
A. <document.getElement(‘img1’).src
= "sample.jpg";>
C.
<document.getElementByld(‘img1’).id =
"sample.jpg";>
B.
<document.getElement(‘img1’).id =
"sample.jpg";>
D.
<document.getElementByld(‘img1’).src =
"sample.jpg";>
Q.50
Which of the following options will be correctly identified by the pattern
/[^AB]PQ/?
A. APQ
B. BPQ
C. CPQ
D. ARQ
Description HTML5 <audio> Tag
The HTML5
<audio> tag is a powerful tool for incorporating audio content into modern
websites. With this tag, you can easily add audio files to your site and
enhance the user experience with engaging audio content.
At Modernistic
Websites Solved MCQs, we understand the importance of incorporating different types
of media into our platform. With the <audio> tag, we're able to provide
our users with a variety of audio resources, including podcasts, lectures, and
music.
Whether you're a
student preparing for exams or simply looking to expand your knowledge, our
audio content can help you learn more engagingly and effectively. With our
user-friendly interface, you can easily access and play audio files directly on
our site.
The <audio>
tag also offers a range of customization options, including the ability to
control playback speed, adjust volume levels, and add subtitles or captions for
accessibility. With these features, you can tailor your audio content to your
specific needs and preferences.
So why wait? Start
exploring our range of audio content at Modernistic Websites Solved MCQs today
and enhance your learning experience with the HTML5 <audio> tag.
The <audio>
tag is a versatile HTML5 element used to embed audio content into web pages.
Here is a summary of its usage context and version history:
Usage Context:
- Audio playback: The
<audio> tag is used to play audio files, such as music, podcasts, or
sound effects, directly on a web page.
- Accessibility: The tag can
be used to add subtitles, captions, or transcripts to audio content for
users with hearing impairments.
- Interactive
applications:
The tag can be used in conjunction with JavaScript to create interactive
audio applications, such as games or quizzes.
Version History:
- HTML5: The
<audio> tag was introduced in the HTML5 specification as a
replacement for older audio tags, such as <embed> and
<object>.
- HTML5.1: The HTML5.1
specification introduced new attributes for the <audio> tag, such as
"autoplay", "loop", and "preload".
- HTML5.2: The HTML5.2
specification added support for the "plays inline"
attribute, which allows videos to play inline on iOS devices.
Overall, the
<audio> tag is a powerful tool for incorporating audio content into
modern websites and enhancing the user experience with engaging audio
resources.
|
Placement: |
Block |
|
Content: |
<source>, <track>,
and text |
|
Start/End Tag: |
Start tag: required, End
tag: required |
|
Version: |
New in HTML5 |
Syntax
The syntax for using
the <audio> tag to embed audio content into a web page is as follows:
<audio src="audio_file_path.mp3" controls>
Your browser does not support the <code>audio</code> element.
</audio>
In this example, the
"src" attribute specifies the path to the audio file you want
to play, while the "controls" attribute adds a set of controls
to the audio player, such as play/pause, volume, and progress bar.
You can also add additional
attributes to the <audio> tag to customize its behavior, such as "autoplay"
to start playing the audio automatically when the page loads, "loop"
to repeat the audio playback, or "preload" to specify when the
audio file should be loaded.
Here's an example of
using the <audio> tag with some additional attributes:
<audio src="audio_file_path.mp3" controls autoplay loop preload="metadata">
Your browser does not support the <code>audio</code> element.
</audio>
In this example, the
"autoplay" and "loop" attributes are added to
automatically start and repeat the audio playback, while the
"preload" attribute is set to "metadata" to load
only the metadata of the audio file when the page loads, rather than the entire
file.
Important
Tip: You can place content such as text or
download links inside an audio element to provide alternate content in case the
browser does not support the audio content or somehow failed to download the
audio source file.
Gamification is a
technique that involves adding game-like elements to a non-game context, such
as a learning platform, to make it more engaging and motivating for users. With
Modernistic Websites Solved MCQs, you can take advantage of gamification to make
learning more fun and enjoyable.
One way to do this
is to set goals and milestones for yourself, such as completing a certain
number of MCQs in a given time frame or achieving a certain score on a quiz.
You can also earn badges or rewards for your achievements, such as "Quiz
Master" or "Subject Expert".
Another gamification
technique is to add a competitive element, such as leaderboards or challenges,
to encourage users to compete with each other and strive for the top spot. You
can challenge your friends or classmates to see who can complete the most MCQs
or achieve the highest score on a quiz.
By incorporating
gamification into your learning experience on Modernistic Websites Solved MCQs,
you can make studying more engaging, fun, and rewarding, while also improving
your knowledge and cognitive skills.
Tag-Specific Attributes
The <form> tag
in HTML has several tag-specific attributes that can be used to customize the
behavior and appearance of forms on Modernistic Websites Solved MCQs.
The following table
shows the attributes that are specific to the <audio> tag.
|
Attribute |
Value |
Description |
|
Autoplay |
Autoplay |
This Boolean attribute specifies that the audio will
automatically start playing as soon as it can do so without stopping to
finish loading the data. |
|
controls |
controls |
If specified, the browsers will display controls to allow the
user to control audio playback, such as play/pause, volume, etc. |
|
loop |
loop |
This Boolean attribute specifies that the audio will
automatically start over again, upon reaching the end. |
|
muted |
muted |
This Boolean attribute specifies whether the audio will be
initially silenced. The default value is false, meaning that the audio will
be played. |
|
preload |
auto |
Provides a hint to the browser about whether to download the
audio itself or its metadata. The autoplay attribute can override this
attribute because if you want to automatically play audio, the browser will need
to download it. |
|
src |
URL |
Specifies the location of the audio file. Alternatively, you can
use the preferred <source> tag
as it allows for multiple options. |
Global Attributes
The <form> tag
in HTML also supports a set of global attributes that can be used on any HTML
element, including forms on Modernistic Websites Solved MCQs. Like all other
HTML tags, the <audio>tag supports the global attributes in HTML5.
Event Attributes
HTML forms on
Modernistic Websites Solved MCQs can also make use of event attributes, which
allow you to trigger JavaScript code in response to user interactions. The
<audio> tag also supports the event attributes in HTML5.
Browser Compatibility
Browser
compatibility refers to the ability of a website or web application to function
correctly across different web browsers on different devices. Different
browsers may interpret HTML and CSS code differently, which can cause
variations in how a website is displayed or how its functionality works.
To ensure that
Modernistic Websites Solved MCQs are compatible with as many browsers as
possible, it is important to test the website on different browsers and
versions, including popular browsers such as Google Chrome, Mozilla Firefox,
Microsoft Edge, and Safari. This can be done manually by accessing the website
on different devices and browsers, or by using online tools and services that
simulate different browser environments.
It is also important
to use HTML and CSS code that follows web standards and best practices, as this
can help ensure that the website works correctly across different browsers. It
is also recommended to use vendor-specific CSS prefixes, such as -WebKit-
or -Moz-, to support specific browser features or properties.
By taking these
steps, you can help ensure that Modernistic Websites Solved MCQs are compatible
with a wide range of browsers, providing a consistent and reliable user
experience for all visitors.
Basic Support
- Firefox
- Google
Chrome
- Internet
Explorer
- Apple
Safari
- Opera
Conclusion
Modernistic Websites
Solved MCQs is a platform that provides an interactive and engaging way for
users to practice and improve their knowledge in a variety of subjects through
multiple-choice questions. The platform uses HTML forms to enable users to
submit their answers and receive immediate feedback, making the learning
process more efficient and effective.
To ensure that the
platform is user-friendly and accessible, it is important to use HTML and CSS
code that follows web standards and best practices, as well as to test the
platform on different browsers and devices to ensure compatibility.
Additionally, event and global attributes can be used to add interactivity and
dynamic behavior to the platform, further enhancing the user experience.
Overall, Modernistic
Websites Solved MCQs is a valuable resource for anyone looking to improve their
knowledge and skills, and by following best practices and using the latest web
technologies, it can provide a seamless and enjoyable learning experience for
users.


0 Comments