HTML
1. We can include styles in our HTML document via
Select one:
a) Style tag
b) Tag attribute
c) External Style Sheet
d) All of these options
2. <! DOCTYPE html> is a
Select one:
a) Empty Element
b) Self-closing Tag
c) Nested Element
d) Comment
3. Find the odd one
Select one:
a) <p> … </p>
b) <head> … </head>
c) <hr>
d) <b> … </b>
4. <a> is an
Select one:
a) None of them
b) align tag
c) alternative text
d) anchor tag
5. < will generate
Select one:
a) Left alignment
b) List element
c) Less than symbol
d) List title
6. We can include the script file with the help of
Select one:
a) <link>
b) <base>
c) <script>
d) <a>
7. We have to set the list style _________________.
Select one:
a) No need to set explicitly
b) Inside the list type start tag
c) Before the list
d) Inside the list element start tag
8. Find the odd one out for audio and video tag
Select one:
a) Poster
b) Loop
c) Mute
d) Auto play
9. id, href and class are
Select one:
a) Tags
b) Elements
c) None of these
d) Attributes
10. We can specify the colour in the form of
Select one:
a) HEX values
b) All of these
c) RGB values
d) Colour name
11. Heading tag has ___ levels
Select one:
a) 8
b) 7
c) 5
d) 6
12. Find the odd one
Select one:
a) tt
b) td
c) tr
d) th
13. HTML Tags are always written in between
Select one:
a) Backslashes
b) Angular brackets
c) Curly brackets
d) Parenthesis
14. ______ element is used to perform an action when it is clicked.
Select one:
a) Button
b) Field set
c) Textbox
d) Date/Time
15. Image map is used to
Select one:
a) Select specific area in the image
b) Create custom image
c) Select specific image source
d) Map image to the text
16. Find the odd one out
Select one:
a) <section>
b) <nav>
c) <footer>
d) <head>
17. We can combine the table cells with the help of
Select one:
a) <cellspan>
b) <rowspan>
c) <columnspan>
d) Both b and c
a) e. Both a and c
b) f. Both a and b
18. Syntax to create a link for a text is
Select one:
a) <link> sample text </link>
b) <link source=” ”> sample text </link>
c) <a source=” ”> sample text </a>
d) <a> sample text </a>
19. ________ will list the contents in the form of bulleted points.
Select one:
a) Nested list
b) Definition list
c) Ordered list
d) Unordered list
20. <legend> tag is used to
Select one:
a) Create a label for the form element
b) Give a name for the fieldset
c) Both a and b
d) Neither a nor b
21. We have to write th tag in between the td start and end tag.
Select one:
o True
o False
22. Using lists we can format menus and links in HTML.
Select one:
o True
o False
23. Web video will not play in Firefox web browser.
Select one:
o True
o False
24. HTML is mostly used for server side coding.
Select one:
o True
o False
25. wav audio will only play in the Internet Explorer web browser.
Select one:
o True
o False
26. The output of strong & bold and emphasize & italic tags are identical.
Select one:
o True
o False
27. <a href="https://spoken-tutorial.org" target="_blank"> <img src=" "
alt="My Image" style="width:150px;height:200px;"> </a> The above code will
generate _______ with a link to the Spoken Tutorial website.
Select one:
a) Image
b) A text, “My Image”
c) Display “Spoken Tutorial”
d) Will not generate anything
28. If the source audio or video is not supported by the browser, it will display
Select one:
a) Only thumbnail
b) Your browser does not support the tag
c) The alternative text
d) An empty player
29. OGV is a
Select one:
a) Script file format
b) Video file format
c) None of these
d) Image file format
30. ____ will align the text to the left of the page.
Select one:
a) style="text-align:left"
b) text-align = “left"
c) style="text align:left"
d) align:left
31. __________ element feature is similar to Google search.
Select one:
a) Fieldset
b) Datalist
c) Searchbox
d) Textbox
32. How can we set the page background colour to blue?
Select one:
a) <page bgcolor = ”blue”>
b) <body bgcolor = “blue”>
c) <body style=”background-color:blue”>
d) <page style=”background-color:blue”>
33. <del> tag will ____ the content on the browser.
Select one:
a) Delete
b) Hide
c) Strikethrough
d) Reduce the opacity
34. <p title='Mumbai Farmer’s Market'> sample text </p> will display
Select one:
a) sample text
b) Nothing
c) Mumbai Farmer
d) Mumbai Farmer’s Market
35. The form Attribute ________ compels the user to fill the field, without
skipping it.
Select one:
a) Mandatory
b) Required
c) Onfocus
d) Validate
36. The target value _____ opens the link in a new tab.
Select one:
a) _parent
b) _self
c) _blank
d) _top
37. The above code will generate _______ with a link to the Spoken Tutorial
website.
Select one:
a) Will not generate anything
b) Image
c) A text, “My Image”
d) Display “Spoken Tutorial”
38. ___________ method will pass the values via URL.
Select one:
a) SET
b) POST
c) GET
d) PASS
39. image sic stands for
Select one:
a) Image standard
b) Image source
c) Image style
d) Image format
40. __________ tag will create a line break.
Select one:
a) <br>
b) <lb>
c) <break>
d) <b
41. The following syntax is for
<dl> <dt> Name 1</dt> <dd> value 1 </dd> <dt> Name 2 </dt> <dd> value 1
</dd> <dd> value 2 </dd> </dl>
Select one:
a) Unordered list
b) Nested list
c) Definition list
d) Ordered list
42. Which one of the below HTML code is written correctly?
Select one:
a) <p> <b> My Topic </p> </b> <i> My text </i>
b) <p> <b> My Topic </b> <i> My text </i> </p>
c) <p> <b> My Topic <i> My text </i> </p> </b>
d) <p> <b> My Topic </p> <i> My text </i>
43. <video src="intro.ogv" width="640" height="360” controls>
This will create a video player with
Select one:
a) Volume control
b) Timeline slider
c) All of these controls
d) Play/Pause button
44. Square shape bullet point can be created with the help of
Select one:
a) Definition list
b) Ordered list
c) Unordered list
d) Nested list
45. With the help of ______ and CSS we can create Web Layouts.
Select one:
a) Styles
b) Lists
c) Formatting tags
d) Div tag
46. HTML stands for
Select one:
a) High Texturing Machine Language
b) Hyper Text Manipulation Language
c) Hyper Text Markup Language
d) Hyper Text Markup Learning
47. CSS is a
Select one:
a) Script
b) External style sheet
c) Inline style elemen
d) HTML tag
48. WYSIWYG stands for
Select one:
a) What You Surf is What You Get
b) What You Search Is What You Get
c) What You See is What You Get
d) What You Study is What You Get