FCCT – Module 2: HTML Question Bank
Section 1: The Tag
3 Mark Questions
Q: What is the use of the div tag in HTML?
A: The div tag is used to divide a webpage into separate sections or containers. It helps in
structuring and styling different parts of the webpage.
Q: Is the div tag a block or inline element?
A: The div tag is a block-level element, which means it starts on a new line and occupies the full
width available.
6 Mark Questions
Q: Explain the importance of the div tag in webpage design.
A: The div tag is essential for grouping elements to apply CSS styles and layouts. It helps in
designing page structures, such as headers, sidebars, and content areas.
10 Mark Questions
Q: Discuss the role of the div tag in HTML layout design.
A: The div tag is a fundamental HTML element used to structure webpages. It allows developers to
create logical divisions for styling and scripting. Divs are used in combination with CSS to form
layouts like grids, columns, and sections.
Section 2: Media and Embedding
3 Mark Questions
Q: What is the audio tag used for?
A: The audio tag is used to embed sound files into a webpage, such as music or voice recordings.
Q: What is the video tag used for?
A: The video tag is used to embed video files on a webpage with playback controls like play, pause,
and volume.
Q: What is the purpose of the source tag?
A: The source tag provides multiple media file options to ensure browser compatibility for audio and
video.
6 Mark Questions
Q: Explain the use of media tags in HTML.
A: HTML media tags such as audio, video, and source are used to add multimedia content to
webpages. They enhance interactivity and user engagement by allowing audio and video playback.
10 Mark Questions
Q: Describe the different media and embedding elements in HTML.
A: HTML supports multimedia through various tags: 1. Audio tag – embeds sound files. 2. Video tag
– displays video content. 3. Source tag – specifies multiple file formats. 4. Embed and Object tags –
integrate external multimedia. 5. Track tag – provides captions or subtitles for videos. These tags
improve media accessibility on webpages.
Section 3: The Tag
3 Mark Questions
Q: What is the iframe tag?
A: The iframe tag is used to embed another HTML page within the current page.
Q: What are the main attributes of the iframe tag?
A: The main attributes are src (source), width, height, title, and allowfullscreen.
6 Mark Questions
Q: Explain the purpose of the iframe tag in web design.
A: The iframe tag allows embedding external content such as another webpage, YouTube videos,
or maps directly into a webpage, improving integration and usability.
10 Mark Questions
Q: Discuss the iframe tag in detail with uses.
A: The iframe tag enables embedding external documents or media into a webpage. Common uses
include displaying videos, maps, or advertisements. It supports attributes like width, height, and
border to control display. Iframes are widely used in modern websites for modular content
integration.
Section 4: Semantic Tags
3 Mark Questions
Q: What are semantic tags?
A: Semantic tags clearly define the purpose of content, making code more meaningful and
accessible.
Q: Give two examples of semantic elements.
A: Examples include header, footer, nav, article, and section.
6 Mark Questions
Q: Explain the benefits of semantic tags in HTML5.
A: Semantic tags improve accessibility, SEO, and readability. They help browsers and developers
understand the structure and purpose of content.
10 Mark Questions
Q: Discuss various semantic tags in HTML and their roles.
A: Semantic tags like header, footer, article, section, aside, and nav describe webpage structure.
They enhance code clarity, assistive technology interpretation, and search engine ranking. For
example, header defines the top content, while footer defines the closing section.
Section 5: HTML Forms
3 Mark Questions
Q: What is an HTML form?
A: An HTML form is used to collect user input data and send it to a server for processing.
Q: What are form controls?
A: Form controls are input elements such as text fields, radio buttons, checkboxes, and submit
buttons.
Q: What are the attributes of the form tag?
A: Common attributes include action, method, name, and target.
6 Mark Questions
Q: Explain the structure of an HTML form.
A: A form consists of a form tag enclosing input controls like text fields, radio buttons, and buttons.
The action attribute specifies the server page to process data, while the method defines how data is
sent.
10 Mark Questions
Q: Describe HTML form elements and their purpose.
A: Forms are used to collect and send data. Elements include: 1. Input fields – for text, numbers,
passwords. 2. Textarea – for multi-line input. 3. Select – for dropdown lists. 4. Buttons – for
submitting data. 5. Labels – describe input fields. Together, these allow user interaction and data
transfer in web applications.