HTML Questions:
1. 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
2. Who is the father of HTML?
a) Rasmus Lerdorf
b) Tim Berners-Lee
c) Brendan Eich
d) Sergey Brin
3. HTML stands for __________
a) HyperText Markup Language
b) HyperText Machine Language
c) HyperText Marking Language
d) HighText Marking Language
4. 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
5. 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”
6. Which of the following tag is used for inserting the largest heading in HTML?
a) head
b) h1
c) h6
d) heading
7. 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
8. In which part of the HTML metadata is contained?
a) head tag
b) title tag
c) html tag
d) body tag
9. Which element is used to get highlighted text in HTML5?
a) u
b) mark
c) highlight
d) b
10. Which of the following is not a HTML5 tag?
a) track
b) video
c) slider
d) source
11. How do we write comments in HTML?
a) /…….
b) !……
c) /……/
d) …….!
12. Which of the following elements in HTML5 defines video or movie content?
a) video
b) movie
c) audio
d) media
13. Which of the following is not the element associated with the HTML table layout?
a) alignment
c) size
d) spanning
14. Which element is used for or styling HTML5 layout?
a) CSS
b) jQuery
c) JavaScript
d) PHP
15. 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