|1 Crore+ students have signed up on EduRev. Have you?|
<canvas> tag is basically used for graphics via scripting i.e. usually with Java Script (scripting language, basically used to create animations). Other tags like <table>, <article>, <footer> can be used simply with HTML.
What is the correct syntax of doctype in HTML5?
The correct syntax of HTML5 doctype is <!doctype html>, doctype is the very first thing to write in HTML5. <!doctype html> or <!DOCTYPE HTML> both are same because ‘doctype’ keyword is not case sensitive.
Which of the following is not semantic element for text in HTML5?
Semantic elements used for text are <mark>, <time>, <wbr> whereas <article>, <aside>, <figure>, <footer>, <header> etc. are the semantic elements for structuring a page in HTML5.
Which element was not removed by HTML5?
Although HTML5 adds new elements, it also kicked out some old elements like <big>, <center>, <font>, <tt>, <strike>. HTML5 adapted many elements also <small> is one among these. The <small> element represents “small print”.
Which element is design to wrap a single piece of information?
<time> tag wrap single piece of information i.e. it defines date, month and year. The <nav> element identifies a set of navigation links, <footer> is introduced in HTML5 which is present at the end of page and do conatins footer information i.e copyright information.
Which of the following statement is true?
In SVG drawing is done with vectors and it support event handlers. Canvas doesn’t contains any built-in-animations and drawing is done with pixels.
Which of the following is not sectioning elements?
The <section> element represents a section of a document or application. Tags like <article>, <aside>, <nav>, <section> are the ones that create a nested, new outline inside the page.
Which element is used to get highlighted text in HTML5?
The <mark> element is used to highlight a section of text. It is useful for quoting a text or if one wants to bring attention to the text. The <b> tag is used to make text/paragraph bold. <u> tag is used to underline the text you wanted.
Which feature was already introduced before HTML5?
Until recently you could not draw on the web and graphics were not very interactive but canvas/SVG which were introduced by HTML5 solved all the problems. Video, Geolocation were also new features introduced by HTML5. Frames were already there before the launch of HTML5.
What application can one create even before the introduction of HTML5?
What if one does not use the doctype in the starting of HTML document?
If the browser finds <!doctype html> in the starting of an HTML document it sets the document in standard mode but if one does not use a doctype, the browser goes to quirky mode. In this mode, certain content will not be displayed as per one wrote that. So it is always recommended to write a doctype at the very start of the HTML document.
Which tag supports Non-English language?
<bdo>, <rp>, <rt>, <ruby> are some tags which support Non-English language. <input> is for web forms and <audio>, <embed> are the tags for audio and plug-ins.
Which of the following defines the title of a work?
The <cite> tag defines the title of a work. The <hr> tag is used to give a horizontal break. When we want to link one page to another, then <a> tag is used. The <address> tag is used to define the contact information about owner of document.
How many times can HTML5 events be fired?
We can call events like drag, ondragover, etc multiple times in HTML5.
What an article element should not contain?
The <main> element must NOT be a descendant of an <article>, <aside>, <footer>, <header>, or <nav> element. The article element may contain audio/video clips, images and also text or embedded content.