HTML Web Design Questions and Answers

Practice Mode
Showing 10 of 196 questions
Q151
Which of the following will NOT be found in the <head> section ?
  • A Metatags
  • B Title
  • C Table
Answer: Option C
Q152
 Which property tells how many rows a cell should span ?
  • A colspan=n
  • B Both rowspan=n and colspan=n
  • C rowspan=n
Answer: Option C
Q153
You can add names to each frame window using which setting ?
  • A name
  • B src
  • C ur
Answer: Option A
Q154
Using Hspace will add what to your image ?
  • A Space to the left and right
  • B Space to the top and bottom
  • C Height to all sides
Answer: Option A
Q155
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
Answer: Option D
Explanation: HTML is the standard markup language that defines the structure of webpages using elements and tags.
Q156
Who is the father of HTML?
  • A Rasmus Lerdorf
  • B Tim Berners-Lee
  • C Brendan Eich
  • D Sergey Brin
Answer: Option B
Explanation: Tim Berners-Lee invented HTML and the World Wide Web in 1989 while working at CERN.
Q157
HTML stands for __________
  • A HyperText Markup Language
  • B HyperText Machine Language
  • C HyperText Marking Language
  • D HighText Marking Language
Answer: Option A
Explanation: HTML stands for HyperText Markup Language, which is the standard language for creating web pages.
Q158
What is the correct syntax of doctype in HTML5?
  • A </doctype html>
  • B <doctype html>
  • C <doctype html!>
  • D <!doctype html>
Answer: Option D
Explanation: The doctype declaration for HTML5 is simplified to <!doctype html> and is not case-sensitive.
Q159
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
Answer: Option C
Explanation: Web browsers like Chrome, Firefox, and Safari parse HTML documents and render them as visual web pages.
Q160
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 entities in XHTML unlike HTML
  • D Charset in html is "text/html" whereas in xhtml it is "application/xml+xhtml"
Answer: Option A
Explanation: HTML and XHTML have different character sets: HTML uses "text/html" while XHTML uses "application/xml+xhtml".
Questions and Answers for Competitive Exams Various Entrance Test