가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

Web Developer 면접 질문과 답변

Ques 6. What is the difference between HTML and XHTML?

HTML is more forgiving and allows for more flexibility, while XHTML is stricter and follows XML syntax.

Example:

HTML: 
Hello World

XHTML: 
Hello World

도움이 되었나요? Add Comment View Comments
 

Ques 7. Explain the box model in CSS.

The box model consists of content, padding, border, and margin. It defines the spacing and dimensions of an element.

Example:

div {
  width: 200px;
  padding: 20px;
  border: 2px solid black;
  margin: 10px;
}

도움이 되었나요? Add Comment View Comments
 

Ques 8. What is the purpose of the 'defer' attribute in a script tag?

The 'defer' attribute delays the execution of a script until the HTML parsing is complete.

Example:

도움이 되었나요? Add Comment View Comments
 

Ques 9. Explain the concept of closures in JavaScript.

Closures allow a function to access variables from its outer scope even after the function has finished executing.

Example:

function outer() {
  let x = 10;
  function inner() {
    console.log(x);
  }
  return inner;
}
const closureExample = outer();
closureExample();

도움이 되었나요? Add Comment View Comments
 

Ques 10. Differentiate between sessionStorage and localStorage in HTML5.

sessionStorage stores data for the duration of a page session, while localStorage stores data with no expiration time.

Example:

sessionStorage.setItem('key', 'value');
localStorage.setItem('key', 'value');

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.