Hyper Text Markup Language (HTML) Question:

Download Job Interview Questions and Answers PDF

How do I create frames? What is a frameset?

HTML Interview Question
HTML Interview Question

Answer:

Frames allow an author to divide a browser window into multiple (rectangular) regions. Multiple documents can be displayed in a single window, each within its own frame. Graphical browsers allow these frames to be scrolled independently of each other, and links can update the document displayed in one frame without affecting the others.
You can't just "add frames" to an existing document. Rather, you must create a frameset document that defines a particular combination of frames, and then display your content documents inside those frames. The frameset document should also include alternative non-framed content in a NOFRAMES element.
The HTML 4 frames model has significant design flaws that cause usability problems for web users. Frames should be used only with great care.

Download HTML Interview Questions And Answers PDF

Previous QuestionNext Question
What is a tag?What is a Hypertext link?