Tuesday, July 8, 2025

Free Online Quiz: O Level Web Designing 100 MCQ with Correct Answers [2025 Updated]

Free Online Quiz: O Level Web Designing 100 MCQ with Correct Answers [2025 Updated]

O Level M2-R5 Web Designing and Publishing - 100 MCQs

Q.No Question Option A Option B Option C Option D Correct Answer
1 HTML stands for: Hyper Text Markup Language Home Tool Markup Language High Text Markup Language None of these A
2Who is the father of HTML?Tim Berners-LeeBrendan EichDennis RitchieRasmus LerdorfA
3Which tag is used to create a hyperlink?<a><hyperlink><link><url>A
4Which tag is used to insert an image in HTML?<image><photo><img><pic>C
5What attribute specifies the destination of a link?hrefsrcaltlinkA
6What does <br> tag do in HTML?Breaks the pageBold textInserts line breakChanges paragraphC
7Which tag is used for the largest heading?<h1><h6><heading><title>A
8Which attribute sets alternate text for images?alttitlesrclongdescA
9HTML is a:Programming languageScripting languageMarkup languageSystem languageC
10Which tag is used to define a table row?<tr><td><th><row>A
11Which tag is used to define a table header?<th><tt><thead><td>A
12Which tag adds a horizontal line in HTML?<line><hr><hline><hl>B
13Which HTML tag is used to define an unordered list?<ul><ol><list><li>A
14Which tag is used to define an item in a list?<item><li><list><ol>B
15Which tag is used to define the document title?<title><head><meta><heading>A
16What is the correct HTML element for inserting a line break?<br><lb><break><hr>A
17What is the correct syntax to create a checkbox?<input type="checkbox"><check><input type="check"><checkbox>A
18Which HTML element is used to specify a footer for a document?<bottom><footer><foot><end>B
19HTML5 introduced which new semantic element?<section><div><b><br>A
20Which tag defines an HTML form?<form><input><textarea><fieldset>A
21Which HTML tag is used to embed a video?<media><video><embed><movie>B
22Which attribute controls autoplay in video tag?autoplayplayautostartA
23Which HTML element is used to play audio files?<sound><audio><media><mp3>B
24Which tag defines a drop-down list?<select><dropdown><option><list>A
25Which input type is used for email fields?<input type="mail"><input type="email"><input type="text"><input email>B
26Which CSS property changes text color?background-colorcolortext-colorfont-colorB
27CSS stands for:Central Style SheetCascading Style SheetCoded Style SheetCascading Sheet of StylesB
28How to add CSS to HTML?Using <style> tagUsing inline styleExternal CSS fileAll of theseD
29Which property is used to change the background color?colorbackground-colorbgcolorbackcolorB
30Which selector selects all <p> tags?p#p.p*A
31Which property sets the font size?font-stylefont-sizetext-sizefontB
32Which symbol is used to apply CSS to an ID?.#$@B
33Which symbol is used for class selector in CSS?@.#&B
34Which property is used for bold text?fontboldfont-weightfont-styleC
35Which value of position property makes element fixed at top?staticabsolutefixedrelativeC
36Which unit is not relative in CSS?px%emremA
37Which of the following is not a valid color value?red#FF0000rgb(255,0,0)colour=redD
38Which CSS property controls spacing between letters?letter-spacingword-spacingline-heighttext-indentA
39Which property is used to underline text?text-decorationfont-styledecorationtext-underlineA
40Which tag is used to link external CSS file?<link><style><script><css>A
41Which tag is used to define a JavaScript block?<js><script><javascript><code>B
42JavaScript is a _______ side scripting language.ClientServerBothNoneA
43Which symbol is used for comments in JavaScript?#<!--//**C
44How do you write “Hello World” in an alert box?alert("Hello World");msg("Hello World");alertBox("Hello World");msgBox("Hello World");A
45Which keyword declares a variable in JavaScript?varintletAll of theseD
46JavaScript file extension is:.js.jsx.java.jscriptA
47Which event occurs when the user clicks on an HTML element?onhoveronchangeonmouseonclickD
48Which function is used to get an element by ID in JS?document.getId()getElementById()document.getElementById()getById()C
49Which operator is used to assign a value?=+===!=A
50Which symbol is used to concatenate strings in JS?+&.#A
51W3.CSS is a framework for:CSSHTMLJSPHPA
52W3.CSS is developed by:W3SchoolsGoogleMozillaHTML5A
53Which class adds shadow in W3.CSS?w3-shadoww3-card-4w3-darkw3-box-shadowA
54Which class is used for centered content in W3.CSS?w3-leftw3-rightw3-centerw3-alignC
55Which class is used to make text bold in W3.CSS?w3-boldw3-text-boldw3-strongw3-bolderB
56Which W3.CSS class is used for a responsive image?w3-imagew3-img-responsivew3-responsive-imgw3-responsiveA
57Which tag helps make a webpage responsive?<meta name="viewport"><meta responsive><link responsive><meta page="scale">A
58Which attribute is used to open a link in new tab?target="_new"target="_blank"open="_blank"link="newtab"B
59What is domain name?Email addressUnique website nameIP addressURL pathB
60Which one is a correct domain name?google_comgoogle@comgoogle.comgoogle#comC
61Which protocol is used to transfer web pages?HTTPFTPSMTPIPA
62Which tag defines navigation links in HTML5?<nav><menu><links><list>A
63Which tag is used to embed another HTML page inside current one?<iframe><frame><window><embed>A
64Which meta tag defines page keywords for search engines?<meta name="keywords"><meta keyword><meta content="SEO"><meta name="search">A
65Which one is not a valid HTML5 element?<article><aside><blink><footer>C
66SEO stands for:Search Easy OptimizationSimple Engine OutputSearch Engine OptimizationSystem Engine OptionC
67What is the full form of URL?Uniform Resource LocatorUniversal Resource LinkUniform Resource LinkUnique Redirect LinkA
68Which part of the URL is the domain?www.example.comhttps:///index.html?query=abcA
69Which of the following is not a search engine?BingYahooGoogleChromeD
70Which HTML element is used for emphasis?<em><italic><b><bold>A
71Which tag defines important text?<mark><important><strong><imp>C
72What does the <canvas> tag do?Draw graphicsShow videoEmbed audioAdd scriptsA
73Which tag is used to define a list of options?<select><option><dropdown><list>B
74How to create a numbered list?<ol><ul><list><nl>A
75Which property sets the height of an element in CSS?heightline-heightsizeblock-heightA
76Which CSS property controls visibility?displayvisibilityshowviewB
77How to add a comment in HTML?<!-- comment -->## comment// comment** commentA
78Which tag is used to define client-side script?<script><js><code><scripting>A
79What is the correct format for DOCTYPE declaration?<!DOCTYPE html><DOCTYPE html>!DOCTYPE HTML#doctypeA
80Which tag is used to group inline-elements?<span><div><p><section>A
81Which tag is used to group block-level elements?<div><span><block><group>A
82Which tag is used to define preformatted text?<code><pre><text><format>B
83Which CSS property adds space inside an element?marginpaddingborderwidthB
84Which CSS property adds space outside an element?paddingmarginborder-spacingspacingB
85Which HTML tag is used to create a checkbox?<input type="checkbox"><check><checkbox><input checkbox>A
86Which HTML tag defines a text input field?<input type="text"><text><textarea><textbox>A
87Which input type hides the characters typed?passwordhiddentextemailA
88Which HTML5 element defines self-contained content?<section><aside><article><nav>C
89Which attribute is used to define inline CSS?styleclassidcssA
90Which attribute is used to link an external CSS file?hrefsrclinkrelA
91Which HTML tag is used to create a radio button?<input type="radio"><radio><input radio><button type="radio">A
92Which HTML tag is used to add a comment?<!-- comment -->// comment## comment/* comment */A
93Which tag is used to define a line break?<br><hr><break><lb>A
94Which HTML attribute defines the tooltip text?alttitletooltipinfoB
95Which attribute makes an input field mandatory?requiredreadonlycheckeddisabledA
96Which CSS property changes the mouse pointer?pointercursorhovermouseB
97Which protocol is secure for websites?httphttpsftpsslB
98Which element defines a table cell?<td><tr><th><tc>A
99Which tag is used to define an unordered list?<ul><ol><li><list>A
100Which HTML tag is used to define a caption for a table?<caption><legend><title><tblcaption>A

No comments:

Post a Comment