Correct Answer: Parameters
Note: This Question is unanswered, help us to find answer for this one
Correct Answer: Stickiness
Correct Answer: Network
Correct Answer: Border
Correct Answer: Poster
Correct Answer: Nav
Correct Answer: Red
Correct Answer: Closing
Correct Answer: Z-index
Correct Answer: Codebase
Correct Answer: Bullet
Correct Answer: Navigator.geolocation
Correct Answer: What is the main difference between HTML and XHTML?
Correct Answer:
Note: This question has more than 1 correct answers
Correct Answer: button> elements are much easier to style than elements. elements support inner HTML content (e.g. , , , etc.).
Correct Answer: IMAPIMAP
Correct Answer: file
Correct Answer: spellcheckcontextmenu
Correct Answer: usemapcodetypescodetypesarchive
Correct Answer: widthheight
Correct Answer: Defines a possible line-break.
Correct Answer: Yes, It's a new function in HTML5.Could use javascript.
Correct Answer: oninput
Correct Answer: br/>
Correct Answer: canvas> is an HTML element which can be used to draw graphics using scripting (usually JavaScript).The element is only a container for graphics.Canvas can draw colorful text, with or without animation.
Correct Answer: video/mp4video/webmvideo/ogg
Correct Answer: The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood. On the other hand, the strong element represents strong importance, seriousness, or urgency for its contents.
Correct Answer: input type=
Correct Answer: 2
Correct Answer: !DOCTYPE html>
Correct Answer: content-languagerefreshset-cookie
Correct Answer: Templates are rendered inside the document, so you can easily access them via JavaScript (e.g.document.getElementById() or querySelector()).Templates provide a method for declaring inert DOM subtrees and manipulating them to instantiate document fragments with identical contents.Templates provide a method for declaring inert DOM subtrees and manipulating them to instantiate document fragments with identical contents.
Correct Answer: One per section (HTML5) or one per document (HTML4).
Correct Answer: A custom data attribute's name has to start with the string
Correct Answer: labelbutton
Correct Answer: ol
Correct Answer: number
Which of the following elements are obsolete in the latest HTML5 specification?
Correct Answer: acronymbgsoundblinkcenter
Which of these values are allowed for attribute “method” for form element?
Correct Answer: getpost
HTML5 provides the really nice template element, which is used to declare fragments of HTML that can be cloned and inserted in the document by script. Which of the following answers are true for the template element?
Correct Answer: Any content within a template won't have side effects. Scripts don't run, images don't load, audio doesn't play, etc.
HTML tags are used to describe document ____?
Correct Answer: Content
Which of the following makes an HTML comment?
Correct Answer: <!-- ... -->
Please select the standard metadata names (name attributes of the meta element):
Correct Answer: application-nameauthordescriptiongeneratorkeywords
What is the difference between the readonly and the disabled attribute of form controls?
Correct Answer: Both attributes make the form controls non-interactive, however form controls with the disabled attribute also appear grey.Form controls with the readonly attribute allow the user to select the text and interact with it, whereas disabled controls are entirely non-interactive.
Which element is NOT a block element?
Correct Answer: <td>
Which of the following are important attributes that can be used with tag? (choose all that apply)
Correct Answer: alignnameloop
What was the previous version of HTML, prior to HTML5?
Correct Answer: HTML 4.01
Which is the recommended standard video format in HTML5?
Correct Answer: Theora video and Vorbis audio, as well as the Ogg container format.
Select the valid statements about the section element:
Correct Answer: Each `section` should be identified typically by using heading tagsMust not be a descendant of an address element
Which are valid HTML elements?
Correct Answer: All are valid HTML elements
What is true about an area tag? (choose all that apply)
Correct Answer: Area element is always a clickable linkArea element must be a child of map element
Select HTML elements that hold text. (choose all that apply)
Correct Answer: spanp
What HTML tags are used to make the layout of the page?
Correct Answer: div, span, p, section, br
Which HTML element is used to create vector graphics?
Correct Answer: <svg />
Select the HTML element that will add video into HTML page:
Correct Answer: <video />
The element to specify a list of predefined options for input control is:
Correct Answer: <datalist>
The following link is placed on an HTML webpage:
a href="http://msdn.com/" target="_blank"> MSDN /a>
What can be inferred from it?
Correct Answer: It will open the site msdn.com in a new window.
Which method cancels an ongoing watchPosition call?
Correct Answer: geolocation.clearWatch()
In drawing text, the canvas rendering context provides the following methods to render text:
Correct Answer: fillText(text, x, y [, maxWidth])
Which statement is correct about Server-Side image maps?
Correct Answer: This is enabled by the ismap attribute of the img> tag and requires access to a server and related image-map processing applications
Which value of Socket.readyState is an attribute of WebSocket indicating that the connection is going through the closing handshake?
Which method is used to check if the browser can play the specified audio/video type?
Correct Answer: canPlayType
Which of the following attributes can be specified on any HTML element? (choose all that apply)
Correct Answer: contenteditableidspellchecktranslate
Select the valid attributes of audio element. (choose all that apply)
Correct Answer: autoplaycontrolssrc
Which is the HTML element used to create the clickable text? When clicked on, the cursor should be focused on the input field.
Correct Answer: button
Select the valid HTML elements that can embed content to an HTML document. (choose all that apply)
Correct Answer: canvasmark
Select all valid input types:
Correct Answer: dateemailrange
Which file will be displayed if a computer has all required codecs? <video controls priority="a.mp4"><source src="a.webm" type="video/webm"><source src="a.mp4" type="video/mp4"> Video! </video>
Correct Answer: Video playback
Which valid HTML5 elements were introduced only in HTML5?
Correct Answer: progressoutputfigcaption
Select the valid HTML elements that can not have any child nodes or text. (choose all that apply)
Correct Answer: brs
Select the valid content sectioning elements: (choose all that apply)
Correct Answer: articlefooter
Which HTML elements could be used to display a list?
Correct Answer: olul
How can you embed a mp3 file in HTML page?
Correct Answer: <audio src= path_to_file />
How many input elements can get automatic focus after page load?
Correct Answer: 1
What extensions are needed to watch a video in HTML page?
Correct Answer: None
Which is the HTML element used to draw high-intensity graphics and animations?
Correct Answer: <canvas />
Which HTML element is used to make a dropdown selection with options divided to sections?
Correct Answer: optgroup
Which code will play an audio in a loop?
Correct Answer: audio = new Audio(‘asound.ogg'); audio.addEventListener('ended', function() { this.currentTime = 0; this.play(); }, false); audio.play();
How can you enable grammar checking for the text input?
Correct Answer: Add attribute spellcheck
Which is the correct method to draw an image on HTML Canvas
Correct Answer: drawImage()
How can you add custom text on a browser's tab?
Correct Answer: Add title tag to the head of HTML document
How do you display progress using only HTML?
Correct Answer: progress element
In using a playlist with video or audio, which of following code snippets will load next clip in the onend event?
Correct Answer: script type="text/javascript"> var nextVideo = "path/of/next/video.mp4"; var videoPlayer = document.getElementById('videoPlayer'); videoPlayer.onended = function(){ videoPlayer.src = nextVideo; } </script> <video id="videoPlayer" src="path/of/current/video.mp4" autoplay autobuffer controls />
Which of the following is list of important attributes which can be used with tag?
Correct Answer: autoplay
Play Audio Loop using the following code example?
Controlling the position of elements, ___ positions the element in relation to its containing element?
Correct Answer: Relative
What is the correct HTML for adding a background color?
Correct Answer: <body style="background-color:red;">
The following core attributes that can be used on the majority of HTML elements?
Correct Answer: Class
Which of the following are Basic animation steps you need to take the draw a frame?
Correct Answer: Restore the canvas state
Phrase elements add structural information to text fragments as the following?
Correct Answer: <acronym>
RenderingContext is a helper type representing any of the following rendering contexts?
Correct Answer: WebGL2RenderingContext
Line styles, The following methods and properties control how lines are drawn?
Correct Answer: CanvasRenderingContext2D.setLineDash()CanvasRenderingContext2D.miterLimitCanvasRenderingContext2D.lineDashOffset
The following methods can be used to manipulate paths of objects?
Correct Answer: CanvasRenderingContext2D.bezierCurveTo()
The border-width property is used to control the width of a ____?
Text styles, The following properties control how text is laid out?
Correct Answer: CanvasRenderingContext2D.textAlign
Getting images to draw the canvas API is able to use any of the following data types as an image source?
Correct Answer: HTMLCanvasElement
The hit region API allows you to define an area of your canvas and provides another possibility to expose interactive content on a canvas to accessibility tools. The API can also .........? (choose all that apply)
Correct Answer: CanvasRenderingContext2D.clearHitRegions()CanvasRenderingContext2D.removeHitRegion()CanvasRenderingContext2D.addHitRegion()
Drawing text, The following methods are provided for drawing text?
Correct Answer: CanvasRenderingContext2D.measureText()
Line styles, There are several properties which allow us to style lines include the following?
Correct Answer: lineDashOffset: Specifies where to start a dash array on a line
The element is supposed to set a default font , , and typeface?
Correct Answer: size
Choose the valid methods for navigating to a fragment identifier.
Correct Answer: Parse the URL, and let fragid be the fragment> component of the URL.If fragid is the empty string, then the indicated part of the document is the top of the document.If there is an element in the DOM that has an ID exactly equal to fragid, then the first such element in tree order is the indicated part of the document; stop the algorithm here.
Which tag can prevent sites with adult content from being seen on MSIEbrowsers ?
Correct Answer: icra.org registered <meta http-equiv="pics-label">
First web browser was created by ____?
Correct Answer: Tim Berners-Lee
Which of these elements are deprecated in HTML5?
Correct Answer: center><font>
Which value of Socket.readyState atribute of WebSocket indicates that the connection is going through the closing handshake?
What is the correct HTML5 element for playing video files?
Correct Answer: <video>
Which method is used to finish a launched worker?
Correct Answer: terminate
Using Hspace will add what to your image ?
Correct Answer: Space to the left and right
Which of the following tag is used for a multi line text input control?
Correct Answer: textarea
Which is the correct SVG element to define text?
Correct Answer: text>
Which of the following attributes requires you to have a value in an input control in HTML5?
Correct Answer: placeholder
What is used to continuously push events from the web server to the client's browser?
Correct Answer: Server Sent Events
Which of the following is not valid about MediaRecorder API ?
Correct Answer: MediaRecorder.process() method is called to start the recording.
Which of the following attribute specifies whether or not a user is allowed to drag an element?
Correct Answer: draggable
Which of the following is not a valid attribute for the audio element in HTML5?
Correct Answer: stopped
What is the role of the <dfn> element in HTML5?
Correct Answer: It is used to define a definition term.
How many heading levels can be created with HTML tags?
Correct Answer: 6
Can you use any of the following data types as an image source when getting images to draw a canvas API? (choose all that apply)
In drawing rectangles the following methods immediately draw rectangles to the bitmap? (choose all that apply)
Correct Answer: CanvasRenderingContext2D.strokeRect()
There are different types of form controls that you can use to collect data using HTML form?
Correct Answer: File Select boxes
There are following different methods to set colors in your web page?
Correct Answer: Color names
Which of these elements are block-level?
Correct Answer: h1> ... h6>
Which element defines the title of a work (e.g. a book, a song, a movie, etc.)?
<title>
Correct Answer: <cite>
Why is it not possible to unite webkit-border-radius and -moz-border-radius?
Correct Answer: -webkit- and -moz- are vendor-specific prefixes and are not standard CSS3 properties.
What should be the output of following code? input[type="radio"]:checked + label { background-color:#000; }
Correct Answer: Black background color apply on checked label only
CSS3's border-radius property and border-collapse:collapse do not mix. How can border-radius be used to create a collapsed table with rounded corners?
Correct Answer: By using border-collapse: separate
Which of the following is correct about the difference between "rem" and "px" for font sizes?
Correct Answer: "rem" depends on the body's font size.
Which of the following code samples will correctly search for the word "for" in a string?
Correct Answer: var str="This is test for javascript search !!!"; if(str.search("for") != -1) { alert("true"); } else { alert("false"); }
How do you make the content inside an element editable?
Correct Answer: Setting the attribute contenteditable = "true"
How do you make an HTML element draggable?
Correct Answer: Set the attribute draggable = "true"
Is WebSQL a part of HTML5 specification?
Correct Answer: No
Which methods are provided by geolocation?
Correct Answer: All of the above
In HTML5, drag and drop is part of the standard?
Correct Answer: True
Which among the following tags define a caption for a fieldset element?
Correct Answer: legend
Which of the following is a new form element introduced in HTML5?
Correct Answer: datalist
Which of the following input control accepts only numerical value in HTML5?
Which input control accept only numerical value in HTML5?
Correct Answer: address
Which method is used to execute a query in WebSQL?
Correct Answer: executeSql
Can we use SVG tags directly in HTML5 without using any plugin?
Correct Answer: Yes
Which of the following is a new input restriction introduced in HTML5?
Correct Answer: required
Which of the following video formats is not supported by the video tag?
Correct Answer: Mov
Which of the link types can be specified on the link elements in HTML (a, area, link)?
Correct Answer: alternate
When using video on a page, if autoplay attribute is set then which of the following attributes is ignored?
Correct Answer: muted
Which of these table element does not exists?
Correct Answer: <tcol>
Which of the following features are supported by HTML5?
The HTML5 element used to draw a graphics via scripting?
Correct Answer: Canvas
Which tag in HTML5 can be used to define navigation links?
Correct Answer: nav
Which method is used to fetch the current geographic location of the user and update it as the user moves?
Correct Answer: getCurrentPosition()
How do you assign multiple classes to one element?
Correct Answer: <div class="one two three"></div>
Which tag is used to show subtitles in a video in HTML5?
Correct Answer: track
Which of the following tag can be used to associate a caption together with some embedded content in HTML5?
Correct Answer: caption
Which of these statements are true?
Correct Answer: A block-level element always starts on a new line and takes up the full width available.
How do you declare HTML5 document type?
Correct Answer: <!DOCTYPE html>
Which attribute specifies that the video will be loaded at page load, and ready to run. Ignored if autoplay is present.
Correct Answer: preload
Which of the following attribute triggers an abort event?
Correct Answer: onabort
Which of the following is a new input type introduced in HTML5?
Correct Answer: email
Which of the following is not a core method of WebSQL Database API?
Correct Answer: connect
Which of the following code is valid?
Correct Answer: <div id="container" class="home-page" data-size="960px"></div>
Which of these statements are considered as best practices?
Correct Answer: Place CSS files within the <head> elementPlace JavaScript files at the bottom of <body> element
How do you specify where the dragged data can be dropped?
Correct Answer: Calling the event.preventDefault() method for the ondragover event.
Which of the following is used to set the fill color for a drawing on Canvas?
Correct Answer: fillStyle()
What is the default character encoding in HTML5?
Correct Answer: UTF-8
Which is the following represents that the document is using HTML5?
____________ can publish, edit, and delete posts and pages written by any user. They can upload some kinds of files, and they can write HTML without restrictions. They can manage links and categories, and they can moderate comments. Editors and administrators are also the only users allowed to read private posts and pages.
Correct Answer: Administrator
Which of the following is an invalid keyword value for the http-equiv attribute when used with the <meta> element in HTML5?
Correct Answer: expires
Which of the following is a proper syntax for <br> tag as W3C specs for HTML5 defines?
Correct Answer: <br/>
Which of the following input element variations will show a numeric keypad in mobile browsers?
Correct Answer: <input type="text" pattern="[0-9]*" />
Which following are valid default values for the <input type="date"> HTML5 element?
<input type="date">
Correct Answer: today
Consider the following items of a <select> list:
<option value="89">Item 1</option>
<option value="90">Item 2</option>
Which of the following values would be passed on by clicking the submit button on selecting Item 2 from the list?
Correct Answer: 90
True or False: HTML5 Canvas can be used to create images.
Which of the following methods are valid for navigating to a fragment identifier? http://demo.com/#foo
Correct Answer: <a name="foo">bar</a><a id="foo">bar</a><div id="foo">bar</div>
Which of the following are true regarding the <keygen> tag in HTML5?
Correct Answer: The <keygen> tag generates a public/private key pair and then creates a certificate request. This certificate request will be sent to a Certificate Authority (CA), which then creates a certificate and sends it back to the browser.
Which media event is triggered when there is an error in fetching media data in HTML5?
Correct Answer: onstalled
Which of the following will detect when an HTML5 video has finished playing?
Correct Answer: var video = document.getElementsByTagName('video')[0]; video.onended = function(e) { }
What is the limit to the length of HTML attributes?
Correct Answer: There is no limit.
Which of the following are valid HTML5 elements?
Correct Answer: canvas
Which of the following are possible ways to make the browser automatically adds new images and discards deleted images with server-side events in HTML5?
Correct Answer: Long Polling Ajax Requests
Which of the following statements are correct with regard to the <hr> and <br> elements of HTML5?
Correct Answer: The <hr> element is used to insert the horizontal line within the document and the <br> element is used to insert a single line break.
Which of the following attributes are not supported in HTML5?
Correct Answer: sizes
Which of the following tags would assist in creating named groups within a select list?
Which of the following are valid values for the contenteditable attribute of the element in HTML5?
Correct Answer: true
Which of the following is the correct way to store an object in a localStorage?
Correct Answer: localStorage.setItem('testObject', JSON.stringify(testObject))
Which is the standard method for clearing a canvas?
Correct Answer: context.clearRect ( x , y , w , h );
Assuming that some text needs to be written on an HTML5 canvas, select a replacement for the commented line below: <canvas height="200" id="e" width="200"></canvas> <script> var canvas = document.getElementById("e"); //insert code here context.fillStyle = "blue"; context.font = "bold 16px Arial"; context.fillText("Zibri", 100, 100); </script>
Correct Answer: var context = canvas.getContext("2d");
Which method of the HTMLCanvasElement is used to represent an image of a canvas element?
Correct Answer: toDataURL
Which of the following will restrict an input element to accept only numerical values in a text field?
Which of the following attributes gets hidden when the user clicks on the element that it modifies? (Eg. hint text inside the fields of web forms)
Which of the following are true about the ARIA role attribute in HTML5?
Correct Answer: Every HTML element can have an ARIA role attribute specified.
Which of the following is the correct way to display a PDF file in the browser?
Correct Answer: <object type="application/pdf" data="filename.pdf" width="100%"height="100%"/>
Which of the following HTML5 features is capable of taking a screenshot of a web page?
Which event is fired when an element loses its focus in an HTML5 document?
Correct Answer: onblur
How can audio files be played in HTML5? var sound = new Audio("file.wav");
Correct Answer: sound.play();
What does the icon attribute of the HTML5 command tag define? <command icon="?">Click Me!</command>
Correct Answer: It is used to define the URL of an image to display as the command.
You want to create a link for your website allowing users to email the webmaster. How will you implement this if the webmaster's email address is webmaster@xcompany.com?
Correct Answer: <a href="mailto:webmaster@xcompany.com">webmaster</a>
Which of the following are valid ways to associate custom data with an HTML5 element?
Correct Answer: <tr class="foo" data-id-type="4">
Which of the following is not a valid attribute for the <link> element in HTML5?
Correct Answer: http-equiv
Which of the following properties can be used to dynamically change the value of a <tr>
Correct Answer: InnerHTML
Which of the following are suitable uses for the nav element?
Correct Answer: For groups of controls (a, input, button)
Which of the following events is not supported in HTML5?
Correct Answer: Oninvalid
What is the best way to define the character set of an HTML5 web page?
Correct Answer: <meta charset=’utf-8’>
Which of the following shows correct use of client-side data validation in HTML5, on username and password fields in particular?
Correct Answer: <input name="username" required /> <input name="pass" type="password" required/>
How can form elements escape from validation?
Correct Answer: Using formnovalidate in an inpute element.
Choose the valid method for navigating to a fragment identifier.
Correct Answer: Parse the URL, and let fragid be the <fragment> component of the URL.
What is the proper syntax for a line break tag as W3C specs define?
Correct Answer: <br />
What is the difference between Server-Sent Events (SSEs) and WebSockets in HTML5?
Correct Answer: WebSockets can perform bi-directional (client-server and vice versa) data transfers, while SSEs can only push data to the client/browser.
Which of the following is an invalid value for the type attribute of a command tag?
Correct Answer: text
How can an HTML5 canvas size be changed so that it fits the entire window?
Correct Answer: #myCanvas {height: 100%; width: 100%;}
Consider the following JavaScript code: var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); var img=document.getElementById("img"); Which method will correctly draw an image in the x=10, y=10 position?
Correct Answer: ctx.drawImage(img,10,10);
Which HTML5 doctype declarations are correct?
Correct Answer: <!doctype html>
What is the internal/wire format of input type="date" in HTML5?
Correct Answer: YYYY-MM-DD
The following are valid use cases of client file/directory access in HTML5, except:
Correct Answer: Use of the HTML5 File API
Which of the following code is used to prevent Webkit spin buttons from appearing on web pages?
Correct Answer: input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
Which of the following is the correct way to play an audio file in HTML5?
All of these.
Correct Answer: var snd = new Audio("file.wav"); snd.play();<audio controls><source src="file.ogg" type="audio/ogg"><source src="file.mp3" type="audio/mpeg"></audio>
True or false: JavaScript objects can be stored directly into localStorage.
Correct Answer: False
Once an application is offline, it remains cached until the following happens (select all that apply):
Correct Answer: The application cache is programmatically updated.
Which of the following methods can be used to estimate page load times?
Correct Answer: Using _gaq.push(['_trackPageLoadTime']) with Google Analytics.
How does a button created by the <button> tag differ from the one created by an <input> tag?
Correct Answer: A button tag can include images as well.
Which of the following video file formats are currently supported by the <video> element of HTML5?
Correct Answer: MPEG 4
What does P2P streaming mean when web applications establish a P2P HTTP connection using HTML?
Correct Answer: It means that streaming of a voice/video frame is direct, without using any server between them.
Correct Answer: min="1" max="10"
Correct Answer: dragstart
Correct Answer: DIVs provide a non-semantic way of grouping elements, while SECTIONs group elements by semantic meaning.
Correct Answer: name
Correct Answer: type
Correct Answer: step
Correct Answer: The poster attribute
Correct Answer: getContext("2d")
Correct Answer: The date/time of the response
Correct Answer: The date and time of the response
Correct Answer: In the start tag of the element
Correct Answer: if ("geolocation" in navigator)
Correct Answer: datetime
Correct Answer: To stores web pages on a user's computer for offline use
Correct Answer: <textarea>words</textarea>
Correct Answer: radio
Correct Answer: CACHE MANIFEST
Correct Answer: ©
Correct Answer: <img draggable="true" />
Correct Answer: <source>
Correct Answer: <input type="reset"/>
Correct Answer: navigator.getUserMedia()
Correct Answer: <aside>
Correct Answer: Add markup inside the <video> element
Correct Answer: &
Correct Answer: <b>
Correct Answer: <figcaption>
Correct Answer: Internet Explorer 8
Correct Answer: context.drawImage(img,x,y,width,height);
Correct Answer: autocomplete
Correct Answer: autoplay="true"
Correct Answer: Top-left corner
Correct Answer: autoIncrement
Correct Answer: an index.
Correct Answer: Instruct the browser to obtain a connection to the user's camera and microphone
Correct Answer: <input type="email" name="email">
Correct Answer: Any number
Correct Answer: EPS
Correct Answer: The browser automatically gives the user-name field focus when the page loads.
Correct Answer: Start, stop, speed and volume
Correct Answer: get
Correct Answer: <article>
Correct Answer: <canvas>
Correct Answer: draggable="true"
Correct Answer: Marked/highlighted text
Correct Answer: <h1>
Correct Answer: Controls the max number of characters a user can add to the input element
Correct Answer: It instructs the HTML validators to check your code against HTML5's valid elements and syntax.
Correct Answer: alt
Correct Answer: controls
Correct Answer: Only for the duration of the browser session
Correct Answer: JavaScript
Correct Answer: querySelectorAll('p')
Correct Answer: href
Correct Answer: <img>
Correct Answer: Bullet points
Correct Answer: <ol></ol>
Correct Answer: <header>
Correct Answer: maxlength
Correct Answer: Unique identifier
Correct Answer: <li>
Correct Answer: Table headers
Correct Answer: Pixels
Correct Answer: A scalar measurement within a known range
Correct Answer: target="_blank"
Correct Answer: <object>
Correct Answer: if (navigator.geolocation)
Correct Answer: Serialize any objects to a string
Correct Answer: The socket is much smaller in bytes.
Correct Answer: Stores processing data you don't want displayed on a Web page
Correct Answer: Footer
Correct Answer: A length of time in milliseconds
Correct Answer: <bdi>
Correct Answer: Sets default gray helper text for the field
Correct Answer: Internet Explorer 9
Correct Answer: CACHE MANIFEST, NETWORK, and FALLBACK
Correct Answer: unique identifier
Correct Answer: The new cache resources are ready, but old cache resources are still being used
Correct Answer: <video loop="default">
Correct Answer: <legend>
Correct Answer: Right after the opening <head> tag
Correct Answer: canvas.
Correct Answer: dir
Correct Answer: Width, height
Correct Answer: It should load the entire video when the page loads
Correct Answer: Specifies the URL of the service that will handle the submitted data
Correct Answer: downloading
Correct Answer: Source
Correct Answer: Opera 10.6
Correct Answer: error
Correct Answer: reset
Correct Answer: Automatically get updates from a server
Correct Answer: Secondary content
Correct Answer: CSS overflow
Correct Answer: No guarantee is given that the API returns the device's actual location
Correct Answer: MIME types
Correct Answer: Preload
Correct Answer: embedded object
Correct Answer: dataTransfer.getData
Correct Answer: <audio>
Correct Answer: fillRect(x,y,width,height)
Correct Answer: window.parent
Correct Answer: Height attribute
Correct Answer: <nav>
Correct Answer: Draw images on a web page
Correct Answer: min=”1” max=”10”
Correct Answer: Embedded movies
Correct Answer: tel
Correct Answer: Option tags
Correct Answer: Number
Correct Answer: <button type='submit'>
Correct Answer: <figure>
Correct Answer: A browser which supports HTML5
Correct Answer: Draw graphics
Correct Answer: All of these
Correct Answer: all of these.
Correct Answer: The darker, or blackest, portions will become the opaque area of the brush, and the lighter, or white, areas will become the transparent area of the brush.
Correct Answer: StrokeText(text,x,y,)
Correct Answer: MP4, WebM, Ogg
Correct Answer: False. It's obsolete.
Correct Answer: Exact Help
Correct Answer: XML
Correct Answer: CSS
Correct Answer: font-size: .67em
Correct Answer: Server-Sent Event
Correct Answer: No guarantee is given that the API returns the device's actual location.
Correct Answer: .appcache
Correct Answer: index
Correct Answer: Web browser assumes preload="auto"
Correct Answer: <dir>
Correct Answer: Using uppercase element names
Correct Answer: <summary>
Correct Answer: None of these
Correct Answer: range, color, time
Correct Answer: After the document has been parsed.
Correct Answer: while(){ $('element1').css('width','20px') $('element2').css('width','3px') }
Correct Answer: <small>
Correct Answer: seeking
Correct Answer: <script src="path/to/script.js"></script>
Correct Answer: subtitle
Correct Answer: preload attribute is ignored.
Correct Answer: Metro
Correct Answer: It is used to define the restrictions to the frame content.
Correct Answer: Tracking
Correct Answer: <track>
Correct Answer: If this is not specified it will display black screen.
Correct Answer: It is triggered when a document performs an undo function.
Correct Answer: It will alert saying “[object Window]" when the document is loaded.
Correct Answer: date
Correct Answer: html-whitelist
Correct Answer: enableHighAccuracy, timeout, maximumAge
Correct Answer: <html manifest=”/cache.manifest”>
Correct Answer: MP4
Correct Answer: pubdate
Correct Answer: url
Correct Answer: Raw data elements
Correct Answer: NETWORK
Correct Answer: <!DOCTYPE html> <title>Title of the document</title>
Correct Answer: previous
Correct Answer: Name
Correct Answer: scope
Correct Answer: <textarea>
Correct Answer: window
Correct Answer: It cannot contain HTML or CSS
Correct Answer: Display it as an empty inline element with no children
Correct Answer: document.localStorage[“key”] = “value”;
Correct Answer: compact
Correct Answer: popstate
Correct Answer: fillText(text,x,y,)
Correct Answer: createRadialGradient(x,y,r,x1,y1,r1)
Correct Answer: <strong>
Correct Answer: <kbd>
Correct Answer: Define what to show in browsers that do not support ruby annotations
Correct Answer: Assigns a color to the line being drawn and makes it visible on the canvas
Correct Answer: Everytime the active history entry changes.
Correct Answer: latitude, longitude, accuracy
Correct Answer: 5 megabytes
Correct Answer: All are correct.
Correct Answer: The script will run when the media is played to the end, without stopping for buffering.
Correct Answer: ondragenter
Correct Answer: <mark>
Correct Answer: Defines a possible line-break
Correct Answer: media
Correct Answer: Transparent
Correct Answer: lineTo(x,y)
Correct Answer: <ld>
Correct Answer: <input autofocus>
Correct Answer: checking, downloading, progress, cached
Correct Answer: an explanation/pronunciation of characters
Correct Answer: Will depend upon the browser support of media source.
Correct Answer: <time>
Correct Answer: Resolution-dependent bitmap canvas
Correct Answer: <canvas id="myCanvas" width="800" height="600" > <p>Your browser is sooooo old! Download a modern one now! </p> </canvas>
Correct Answer: noupdate
Correct Answer: id, width and height
Correct Answer: text/cache-manifest
Correct Answer: window.applicationCache
Correct Answer: getContext
Correct Answer: origin
Correct Answer: option tags
Correct Answer: A “QUOTA_EXCEEDED_ERR” will be thrown
Correct Answer: <frame>
Correct Answer: It triggers an event when the cache content has been marked as obsolete.
Correct Answer: fallback:
Correct Answer: Defines a date/time.
Correct Answer: allows the developer to define the text that will appear in a textbox control.
Correct Answer: Yes, using certain browser configuration and the use of media handling code in JS
Correct Answer: It is used to define the url of an image to display as the command.
Correct Answer: All are valid
Correct Answer: localStorage and sessionStorage
Correct Answer: a modern web browser with good HTML 5 support, and at least one codec offered by the video/audio
Correct Answer: <meta charset="utf-8" />
Correct Answer: All options can be sections
Correct Answer: embedded movies
Correct Answer: <output></output>
Correct Answer: .WebM
Correct Answer: loop
Correct Answer: <font>
Correct Answer: drawImage(image,x,y)
Correct Answer: Display it as a text input
Correct Answer: any valid mark-up or content
Correct Answer: checked="checked"
Correct Answer: valid HTML5 mark-up
Correct Answer: To offer a semantically correct markup for displaying image captions
Correct Answer: command
Correct Answer: sets default gray helper text for the field.
Correct Answer: automatically gets updates from a server
Correct Answer: <hgroup>
Correct Answer: secondary content
Correct Answer: Defines additional details that the user can view or hide
Correct Answer: align
Correct Answer: <input type="url" name="user_url" />
Correct Answer: localStorage and sessionStorage.
Correct Answer: light up
Correct Answer: onunload
Correct Answer: <input name=be evil />
Correct Answer: works in conjunction with JavaScript
Correct Answer: Web storage
Correct Answer: <details>
Correct Answer: right after the opening <head> tag.
Correct Answer: <input type="number" name="points" min="1" max="10" />
Correct Answer: To draw pictures or text using Scalable Vector Graphics
Correct Answer: If the hash portion of the current URL changes.
Correct Answer: W3C
Correct Answer: <input type="email" name="user_email" />
Correct Answer: It includes all of the option.
Correct Answer: <input placeholder=”Placeholder text” />
Correct Answer: required fields.
Correct Answer: Defines keyboard input
Correct Answer: HTML5 describes the content of a page while CSS defines style rules.
Correct Answer: a section of a page that links to other pages or to parts within the page.
Correct Answer: Internet Explorer
Correct Answer: To define emphasized text
Correct Answer: any number
Correct Answer: Scalable Vector Graphics
Correct Answer: <narrow>
Correct Answer: <section>
Correct Answer: element.
Correct Answer: completely replace server side form validation
Correct Answer: True, but this should not replace server-side validation.
Correct Answer: specifies the URL of the service that will handle the submitted data.
Correct Answer: whitespace
Correct Answer: getContext();
Correct Answer: Security: data stored within the cache is protected from external access.
Correct Answer: To define bold text
HTML 5 MCQs | Topic-wise