Web Development Manifesto
Which of the following HTML element is used for canvas graphics? a) css b) paint c) canvas d) graphic
c) canvas
Which of the following HTML tag is used to add a row in a table? a) th b) td c) tr d) tt
c) tr Note: Table Row
In HTML, which attribute is used to create a link that opens in a new window tab? a) src="_blank" b) alt="_blank" c) target="_self" d) target="_blank"
a) src="_blank" Note: "src" usually points to a link.
What is the use of <hr> tag in HTML? a) For making content appearance italics b) To create vertical rule between sections c) To create a line break d) To create horizontal rule between sections
d) To create horizontal rule between sections Note: hr means Horizontal Rule
How to insert Hyperlink in HTML Page? a) <a href = "..."> </a> a) <a src = "..."> </a> a) <a target = "..."> </a> a) <a= "..."> </a>
a) <a href = "..."> </a>
Which of the following tag is used to create a text area in HTML Form? a) <textarea> </textarea> b) <text></text> c) <input type="text /> d) <input type="textarea" />
a) <textarea> </textarea> Note: Input type is used for forms.
Which element is used for or styling HTML5 layout? a) CSS b) jQuery c) JavaScript d) PHP
a) CSS
Which of the following is not a difference between HTML and XHTML? a) Charset in both html and xhtml is "text/html" b) Tags and attributes are case-insensitive in HTML but not in XHTML c) Special characters must be escaped using character entities in XHTML unlike HTML d) Charset in html is "text/html" where as in xhtml it is "application/xml+xhtml"
a) Charset in both html and xhtml is "text/html" Explanation: HTML is case insensitive while XHTML is case sensitive. In XHTML, special characters can be escaped using character entites but not in HTML. Charset in HTML is "text/html" where as it is "application/xml+xhtml" for XHTML.
HTML stands for __________ a) HyperText Markup Language b) HyperText Machine Language c) HyperText Marking Language d) HighText Marking Language
a) HyperText Markup Language
Which HTML element is used for abbreviation or acronym? a) abbr b) blockquote c) q d) em
a) abbr Note: Abbreviation
To show deleted text, which HTML element is used? a) del b) em c) strong d) ins
a) del Note: Delete
Which attribute is not essential under <iframe>? a) frameborder b) width c) height d) src
a) frameborder Explanation: An iframe is equivalent to a window that has been cut into our page, it is created using element. Src, height, width attribute are essentially used inside of this. Src attribute specifies the URL of the page which is to be shown. Height and width specify the height and width of an iframe in pixels. <!--EndFragment--> </body> </html>
In which part of the HTML metadata is contained? a) head tag b) title tag c) html tag d) body tag
a) head tag Note: Metadata is not visible in the HTML when viewed on a browser.
Among the following, which is the HTML paragraph tag? a) p b) pre c) hr d) a
a) p Note: Paragraph
Which works similar to b element? a) strong b) blockquote c) em d) i
a) strong
Which of the following elements in HTML5 defines video or movie content? a) video b) movie c) audio d) media
a) video
Which HTML tag is used for making character appearance bold? a) <u>content</u> b) <b>content</b> c) <br>content</br> d) <i>content</i>
b) <b>content</b> Note: Bold
Which of the following tag is used for inserting the largest heading in HTML? a) head b) <h1> c) <h6> d) heading
b) <h1> Note: The largest heading starts from h1, and the smallest ends with h6.
18. HTML is a subset of ___________ a) SGMT b) SGML c) SGME d) XHTML
b) SGML Explanation: HTML is a subset of SGML. SGML (Standard Generalized Markup Language) is a standard for specifying a document markup language or tag set.
Who is the father of HTML? a) Rasmus Lerdorf b) Tim Berners-Lee c) Brendan Eich d) Sergey Brin
b) Tim Berners-Lee
Which tag is used to create a blank line in HTML? a) b b) br c) em d) a
b) br Note: Break Line
Which of the following is not the element associated with the HTML table layout? a) alignment b) color c) size d) spanning
b) color Note: Color is used for text.
Which element is used to get highlighted text in HTML5? a) u b) mark c) highlight d) b
b) mark Explanation: 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.
Which tag is used to create a dropdown in HTML Form? a) input b) select c) text d) textarea
b) select Note: To select (from a list)
Which tag is used to underline the text in HTML? a) p b) u c) i d) ul
b) u
Which of the following HTML tag is used to create an unordered list? a) ol b) ul c) li d) lI
b) ul Note: Unordered List
Which character is used to represent when a tag is closed in HTML? a) # b) ! c) / d) \
c) / Note: Forward Slash (/)
How do we write comments in HTML? a) // b) </> c) <!-- > d) <//>
c) <!-- >
How to create a checkbox in HTML Form? a) <input type="text" > b) <input type="textarea" > c) <input type="checkbox" > d) <input type="button" >
c) <input type="checkbox" >
Which of the following is used to read an HTML page and render it? a) Web server b) Web network c) Web browser d) Web matrix
c) Web browser
Which attribute specifies a unique alphanumeric identifier to be associated with an element? a) type b) article c) id d) class
c) id Explanation: The id attribute is most used to point to a style in a style sheet, and by JavaScript (via the HTML DOM) to manipulate the element with the specific id. Class is a name given to HTML elements that can be used by CSS and JavaScript for styling web pages. A self-contained content is called an attribute.
Which HTML tag is used to insert an image? a) img url b) img alt c) img src d) img link
c) img src Note: Image Source
Which HTML element is used for short quote? a) em b) abbr c) q d) blockquote
c) q Note: Quote
Which of the following is not a HTML5 tag? a) track b) video c) slider d) source
c) slider
Which of the following extension is used to save an HTML file? a) .hl b) .h c) .htl d) .html
d) .html
What is the correct syntax of doctype in HTML5? a) </doctype html> b) <doctype html> c) <doctype html!> d) <!doctype html>
d) <!doctype html> Note: <!doctype html> is the same with <!DOCTYPE HTML> because it is not case sensitive.
Which of the following HTML code will make an image clickable? a) <a href="..."> Name </a> b) <img src = "..."> <a href = "..."> Name </a> </img> c) <img src = "..."/> <a href="..."></a> d) <a href="..."> <img src = "..."/> </a>
d) <a href="..."> <img src = "..."/> </a> Note: <a> tag encloses the object that will be a link.
Which HTML element is used for YouTube videos? a) samp b) small c) frame d) iframe
d) <iframe>
What is HTML? a) HTML describes the structure of a webpage b) HTML is the standard markup language mainly used to create web pages c) HTML consists of a set of elements that helps the browser how to view the content d) All of the mentioned
d) All of the mentioned Explanation: HTML is the standard markup language mainly used to create web pages. HTML describes the structure and layout of a webpage. HTML consists of a series of elements that helps the browser how to display content easily.
What is DOM in HTML? a) Language dependent application programming b) Hierarchy of objects in ASP.NET c) Application programming interface d) Convention for representing and interacting with objects in html documents
d) Convention for representing and interacting with objects in html documents Explanation: The Document Object Model is a cross-platform and language-independent application programming interface that treats an HTML, XHTML, or XML document as a tree structure. A document can be viewed as a logical tree with help of DOM Model.
Which of the following is an HTML specification used to add more information to HTML tags? a) Modifydata b) Minidata c) Macrodata d) Microdata
d) Microdata Explanation: The Microdata spec provides a standardized syntax for additional semantic markup to your web pages to enhance the machine readability of your web pages. The planning for distribution center operation is offered by minidata. Macrodata and Modifydata are not any terms related to HTML5.
What is the work of <address> element in HTML5? a) contains IP address b) contains home address c) contains url d) contains contact details for author
d) contains contact details for author
What is the correct syntax of web address? a) port://domain.filenmae:path/scheme/prefix b) prefix://scheme.port:domain/filename/path c) path://prefix.port:domain/filename/scheme d) scheme://prefix.domain:port/path/filename
d) scheme://prefix.domain:port/path/filename Explanation: The correct syntax for a web address is scheme://prefix.domain:port/path/filename, where scheme is for https or http, prefix is for domain like www, domain denotes domain name, port defines port number, path defines path at server, filename is for name of the document.
Which tag is used to create a numbered list in HTML? a) ol b) ul c) li d) lI
ol