Web Development Ninjas Question:
Download Job Interview Questions and Answers PDF
Do you know what does DOCTYPE mean?
Answer:
The term DOCTYPE tells the browser which type of HTML is used on a webpage. In turn, the browsers use DOCTYPE to determine how to render a page. Failing to use DOCTYPE or using a wrong DOCTYPE may load your page in Quirks Mode. See example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">.
Download Ninjas Web Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me what is the difference between the application model of HTML and HTML5? | Tell us why did you get into coding, programming, etc.? |