Web Development MCQ’s (HTML , CSS & JAVASCRIPT )
Q.1 Which software is used to read and render HTML document?
a. Server
b. Compiler
c. Assembler
d. Browser //Answer
Q.2 Who is inventor and author of HTML ?
a. Bil Gates
b. Programmer
c. Tim Berners-Lee //Answer
d. Google
Q.3 Which year HTML was proposed?
a.1990 //Answer
b. 1987
c. 1993
d. 2005
Q.4 Which HTML tag is used to bold text in a paragraph?
a.<u></u>
b. <ol></ol>
c. <b></b> //Answer
d. <a></a>
Q.5 Which HTML tag is used to start HTML Document?
a.<html></html> //Answer
b. <head></head>
c. <title></title>
d. <body></body>
Q.6 Which HTML tag is used to hold all or maximum HTML Documents tags?
a.<html></html>
b. <head></head>
c. <title></title>
d. <body></body> //Answer
Q.7 Which HTML tag is used to make text italic in HTML Documents tags?
a.<b></b>
b. <u></u>
c. <i></i> //Answer
d. <a></a>
Q.8 Which HTML tag is used to make text underline in HTML Documents tags?
a.<b></b>
b. <u></u> //Answer
c. <i></i>
d. <a></a>
Q.9 Which of the option is used to style an HTML page?
a. HTML
b. CSS //Answer
c. JavaScript
d. jQuery
Q.10 Which of the option is used to color text in an HTML page?
a. font-size
b. color //Answer
c. font-weight
d. background-color
Q.11 Which of the option is used to change background color in an HTML page?
a. color
b. background-color //Answer
c. font
d. border
Q.12 Which one of the options is used to hide a division in an HTML page?
a. HTML
b. CSS
c. JavaScript //Answer
d. Laravel
Q.13 Which one of the options is used to active the event on-click once once clicked in an HTML page?
a. onclick //Answer
b. onhover
c. onkeypress
d. oncheck
Q.14 Which one of the options is used as shortcut-key to inspect an HTML page?
a. Ctrl+Alt+i
b. Ctrl+Shift+i //Answer
c. Ctrl+A
d. Ctrl+O
Q.15 Which one of the options is used as to open a link in new tab in a browser in an HTML page?
a. _blank //Answer
b. ^blank
c. __blank
d. *blank
Q.16 Which one of the options is used as to link a external JavaScript code to an HTML page?
a. link="example.js"
b. src="example.js" //Answer
c. target="_blank"
d. src="example"
Q.17 Select the option which is used as to call a class property of HTML tag?
a. #
b. . //Answer
c. $
d. @
Q.18 Select the option which is used as to call an id property of HTML tag?
a. # //Answer
b. .
c. $
d. @
Q.19 Select the option which is used to show title in title bar of web page in a browser ?
a. <head></head>
b. <title></title> //Answer
c. <p></p>
d. <span></span>
Q.20 Which one of the options is used to create a block in a web page in HTML?
a. <body></body>
b. <div></div> //Answer
c. <p></p>
d. <br />
Q.21 Which option is used as closing tag in HTML?
a.<></> //Answer
b. <><>
c. <><\>
d. <>
Q.22 Which option is used to make comment in HTML?
a.<!--comment--> //Answer
b. <!--comment->
c. <!-comment->
d. <!--comment--->
Q.23 Which option is used as the smallest header in HTML by default?
a. h1
b. h2
c. h4
d. h6 //Answer
Q.24 What is the use of <select> tag in HTML?
a. to select text in a paragraph
b. to create drop down options //Answer
c. to make text bold
d. to underline text
Q.25 Choose the option which is used to select multiple options in an web page?
a. input box
b. radio button
c. checkbox //Answer
d. date
Q.26 What is Bootstrap 5 choose the option?
a. Javascript Framework
b. Framework
c. CSS Framework //Answer
d. Search Engine
Q.27 How many ways we can attach css to an HTML web page choose an option?
a. 2
b. 4
c. 3 //Answer
d. 1
Q.28 How many ways JavaScript can be called in an HTML web page choose an option?
a. 1
b. 3
c. 2 //Answer
d. 4
Thanks
ReplyDeleteVery nice
👍
ReplyDelete