Interviewer And Interviewee Guide

Java Servlet Programming Interview Question:

When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

Submitted by: Administrator
I know all major browsers ignore it even though the HTML 3.2 and 4.0 specifications require it. But building a DOCTYPE line tells HTML validators which version of HTML you are using so they know which specification to check your document against. These validators are valuable debugging services, helping you catch HTML syntax errors.
Submitted by: Administrator

Read Online Java Servlet Programming Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.