Advanced Web Designing Class 12 IT (Science) Chapter 1 Question Answer | महाराष्ट्र बोर्ड स्वाध्याय

Advanced Web Designing Class 12 IT (Science) Chapter 1 Question Answer Maharashtra Board — Complete, latest-syllabus-verified Balbharati textbook exercise solutions (स्वाध्याय) for MSBSHSE HSC Information Technology (Science), covering Key HTML5 Tags & CSS Properties, Fill in the Blanks, True/False, 1/2/3-Option MCQs, Match the Following, Short Answers, Solved HTML5/CSS Programs, and FAQs.

📚 Class 12 IT (Science): ← IT Hub • All Chapters Index • Class 12 Hub • Next: Science Ch 2 →

Table of Contents

1. Key HTML5 Tags, Form Controls & CSS Properties – Advanced Web Designing

Revise all high-weightage HTML5 elements, attributes, and CSS properties from Maharashtra Board Class 12 IT (Science) Chapter 1 before attempting the HSC online exam:

Tag / Property Category Purpose & Key Attributes
<!DOCTYPE html> HTML5 Declaration Starting declaration telling the browser the document uses the HTML5 standard.
<meta> Metadata Provides page metadata inside <head> using name, content, charset, and http-equiv.
<header>, <nav>, <section>, <article>, <aside>, <footer> Semantic HTML5 Define meaningful page regions for browsers, accessibility, and search engines.
<input type="email">, tel, search, date, color, number, url, range HTML5 Form Controls Provide specialized browser inputs and built-in validation (e.g., color picker, tel phone field).
required, placeholder, pattern, min, max, readonly, disabled, autofocus Input Restrictions Control client-side validation, hints, value bounds, and editability in HTML5 forms.
<textarea> Form Control Defines a multi-line text input box controlled by rows and cols attributes.
<ol>, <ul>, <dl> HTML Lists Ordered list (type, start, reversed), unordered bulleted list, and definition list (<dt>, <dd>).
<audio> Multimedia Embeds sound files (MP3, OGG, WAV) using src, controls, autoplay, loop, and muted.
<video> Multimedia Embeds video clips (MP4, WebM, OGG) using src, controls, width, height, poster, and loop.
<map> & <area> Image Mapping Creates clickable hotspots on an image linked via usemap; <area> uses shape, coords, href, and alt.
<iframe> Inline Frame Embeds another HTML document inside the current page using src, srcdoc, name, width, and height.
Inline, Internal & External CSS CSS Types Applied via style attribute, <style> in <head>, or external .css linked with <link rel="stylesheet">.
ID (#id), Class (.class), Universal (*), Group (h2, p) CSS Selectors Target unique elements, reusable classes, all tags, or multiple selectors simultaneously.
position (static, fixed, relative, absolute) CSS Layout Controls element placement and overlapping layout behaviour on a web page.
float & display CSS Positioning float shifts elements (left, right, none); display sets layout mode (inline, block, inline-block, none).
Margin, Border, Padding, Content CSS Box Model Defines spacing around and inside every HTML element in layout rendering.

2. Balbharati Textbook Exercise Solutions – Chapter 1 Advanced Web Designing

Q.1 Fill in the Blanks

No. Textbook Statement Correct Answer
1 The ________ element is a starting element in an HTML5 document, and it indicates the document type definition being used. <!DOCTYPE html>
2 The ________ is a tag in HTML that describes some aspects of the contents of a webpage. <meta>
3 ________ is currently used because it seamlessly supports mobile technology and modern web elements. HTML5
4 The ________ tag is used to create hyperlinks in HTML. <a>
5 ________ allows you to control the look, feel, and layout of multiple web pages all at once. CSS (Cascading Style Sheets)
6 ________ property is used with elements that overlap with each other. position
7 The <input type="tel"> is used for a ________ input field. telephone number
8 The <input type="color"> defines a ________ control. color picker

Q.2 State Whether the Following Statements are True or False

No. Statement Answer & Explanation
1 HTML is an Object Oriented Programming Language. False. HTML is a HyperText Markup Language used to structure web pages, not an object-oriented programming language.
2 charset is used for character encoding declaration. True. For example, <meta charset="UTF-8"> declares the character encoding for the HTML document.
3 An unordered list can be numerical or alphabetical. False. Unordered lists (<ul>) display bullets or symbols; numerical or alphabetical lists are ordered lists (<ol>).
4 CSS rule sets contain a selector and a declaration block. True. A CSS rule consists of a selector pointing to an HTML element and a declaration block inside curly braces.
5 The <video> and <audio> tags were introduced in HTML5. True. HTML5 introduced native multimedia elements without requiring third-party plugins.
6 The <audio> tag is an empty tag. False. <audio> is a paired (container) tag that requires both opening <audio> and closing </audio> tags.

Q.3 Multiple Choice Questions (Choose 1 Correct Option)

No. Question & Options Correct Answer & Reason
1 Which of the following elements represents the header of a section or document?
a) <data>   b) <header>   c) <nav>
b) <header>
<header> is the semantic HTML5 container for introductory content or headings.
2 Which tag is used to define a multi-line input control (text area) in HTML forms?
a) <text>   b) <textarea>   c) <input type="textbox">
b) <textarea>
<textarea> creates a scrollable multi-line text input area.
3 Which attribute is used with the <img> tag to specify the URL of the image?
a) href   b) link   c) src
c) src
The src (source) attribute specifies the file path or URL of the image.
4 Which CSS property is used to change the text color of an element?
a) text-color   b) color   c) font-color
b) color
In CSS, color sets the foreground text color of an element.
5 Which of the following is the correct syntax for writing a CSS comment?
a) /* This is a comment */   b) // This is a comment   c) <!-- This is a comment -->
a) /* This is a comment */
CSS comments always start with /* and end with */.

Q.4 Multiple Choice Questions (Choose 2 Correct Options)

No. Question & Options Correct Answers
1 Which of the following are valid HTML5 semantic tags?
a) <div>   b) <article>   c) <span>   d) <section>
b) <article> and d) <section>
(<div> and <span> are non-semantic generic containers.)
2 Which attribute types are valid values for the <input> tag in HTML5 forms?
a) email   b) textbox   c) date   d) main
a) email and c) date
(textbox and main are not valid type values for <input>.)

Q.5 Multiple Choice Questions (Choose 3 Correct Options)

No. Question & Options Correct Answers
1 Attributes of <area> tag are:
a) href   b) src   c) coords   d) data   e) alt   f) usemap
a) href, c) coords, and e) alt
2 Attributes used with <iframe> are:
a) srcdoc   b) name   c) alt   d) src   e) href   f) loop
a) srcdoc, b) name, and d) src
3 Following are the Form controls:
a) email   b) search   c) label   d) video   e) tel   f) audio
a) email, b) search, and e) tel
4 Attributes used with <audio> tag:
a) autoplay   b) href   c) controls   d) cntrl   e) loop   f) bgsound
a) autoplay, c) controls, and e) loop
5 Which of the following are components of the CSS box model?
a) Margin   b) Border   c) Padding   d) Script
a) Margin, b) Border, and c) Padding

Q.6 Match the Following (Important Tags & Attributes Review)

Group A (Tag / Selector / Attribute) Group B (Function / Description) Correct Match
1. <ol reversed> a) Selects all HTML elements on the page 1 – d) Displays list items in descending order
2. * (Universal Selector) b) Specifies an image shown before video playback 2 – a) Selects all HTML elements on the page
3. poster c) Links an image to a client-side <map> 3 – b) Specifies an image shown before video playback
4. usemap d) Displays list items in descending order 4 – c) Links an image to a client-side <map>
5. position: fixed e) Makes a form field mandatory before submission 5 – f) Keeps element fixed relative to browser viewport
6. required f) Keeps element fixed relative to browser viewport 6 – e) Makes a form field mandatory before submission

3. Short Answer Questions & Concept Explanations

Q.1 Explain the <meta> tag and its important attributes in HTML5.

Answer: The <meta> tag is placed inside the <head> section and stores metadata (data about data) for browsers and search engines. It is an empty tag and does not display directly on the web page.

  • charset: Specifies character encoding, e.g., <meta charset="UTF-8">.
  • name & content: Define keywords, page description, author, or viewport settings for responsive design.
  • http-equiv: Simulates HTTP headers, such as refreshing a page automatically after a fixed number of seconds.

Q.2 Differentiate between Inline, Internal (Embedded), and External CSS.

CSS Type Where Written Best Use Case
Inline CSS Inside an HTML tag using the style attribute Applying a quick, unique style to a single element
Internal (Embedded) CSS Inside <style>...</style> within <head> Styling a single HTML web page independently
External CSS In a separate .css file linked via <link> Controlling consistent design across multiple web pages

Q.3 What is a Client-Side Image Map? List the tags and shapes used.

Answer: A client-side image map divides a single image into multiple clickable regions (hotspots), each linking to a different URL without requiring server-side processing.

  • <img>: Displays the image and connects to the map via the usemap="#mapname" attribute.
  • <map>: Container tag identified by the name attribute matching usemap.
  • <area>: Defines each clickable hotspot using shape (rect, circle, or poly), coords, href, and alt.

Q.4 Explain the four values of the CSS position property.

Answer: The CSS position property determines how an element is placed on a page:

  • static: Default positioning; elements follow normal document flow.
  • relative: Positioned relative to its normal position using top, left, right, or bottom.
  • fixed: Fixed relative to the browser viewport; remains stationary even when scrolling.
  • absolute: Positioned relative to the nearest positioned ancestor (or the document body) and can overlap other elements.

Q.5 What is Website Hosting? Name the three common types of web hosting.

Answer: Web hosting is a service that provides storage space and server resources so websites become accessible on the Internet. The three main types are:

  • Shared Hosting: Cost-effective hosting where multiple websites share resources on one physical server.
  • Free Hosting: Zero-cost hosting with limited bandwidth, storage, and features for small/learning sites.
  • Dedicated Hosting: Entire server leased exclusively to one website for maximum performance and security.

4. Solved HTML5 & CSS Programs (Practical & SOP Practice)

Program 1: HTML5 Registration Form with Input Validation & Internal CSS

Aim: Write an HTML5 program to create a student registration form using HTML5 input types (text, email, tel, date, color) with validation attributes and Internal CSS styling.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="description" content="Student Registration Form in HTML5">
  <title>Student Registration</title>
  <style>
    body { font-family: Arial, sans-serif; background-color: #f4f7fb; }
    .form-box { width: 380px; margin: 20px auto; padding: 18px; border: 2px solid #1d4ed8; background-color: #ffffff; }
    h2 { color: #1d4ed8; text-align: center; }
    label { display: block; margin-top: 10px; font-weight: bold; }
  </style>
</head>
<body>
  <div class="form-box">
    <h2>HSC IT Registration</h2>
    <form action="submit.html" method="post">
      <label>Full Name:</label>
      <input type="text" name="sname" placeholder="Enter your name" required autofocus>
      <label>Email ID:</label>
      <input type="email" name="semail" placeholder="student@example.com" required>
      <label>Mobile Number:</label>
      <input type="tel" name="smobile" pattern="[0-9]{10}" placeholder="10-digit number" required>
      <label>Date of Birth:</label>
      <input type="date" name="sdob" required>
      <label>Favorite Theme Color:</label>
      <input type="color" name="scolor"><br><br>
      <input type="submit" value="Register">
    </form>
  </div>
</body>
</html>

Key Exam Notes: required prevents blank submission, pattern="[0-9]{10}" validates a 10-digit phone number, and Internal CSS styles the form container using a class selector (.form-box).

Program 2: Embedding Audio & Video with Multiple Source Formats

Aim: Write an HTML5 page that embeds both an audio file and a video file with playback controls and fallback message.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>HTML5 Audio and Video</title>
</head>
<body>
  <h2>HTML5 Multimedia Player</h2>
  <p>Audio Track:</p>
  <audio controls loop>
    <source src="sample-audio.mp3" type="audio/mpeg">
    <source src="sample-audio.ogg" type="audio/ogg">
    Your browser does not support the audio element.
  </audio>

  <p>Video Clip:</p>
  <video width="420" height="240" controls poster="preview.jpg">
    <source src="lesson-demo.mp4" type="video/mp4">
    <source src="lesson-demo.webm" type="video/webm">
    Your browser does not support the video element.
  </video>
</body>
</html>

Key Exam Notes: Using multiple <source> tags ensures cross-browser compatibility, while controls displays play, pause, and volume buttons.

Program 3: Client-Side Image Map with Rect, Circle, and Polygon Hotspots

Aim: Create an HTML5 page implementing a client-side image map with three clickable shapes (rect, circle, and poly).

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Client-Side Image Map</title>
</head>
<body>
  <h2>Interactive Campus Map</h2>
  <img src="campus.jpg" alt="College Campus Map" usemap="#campusmap" width="600" height="400">
  <map name="campusmap">
    <area shape="rect" coords="20,30,180,120" href="library.html" alt="Library Block">
    <area shape="circle" coords="320,180,55" href="lab.html" alt="IT Laboratory">
    <area shape="poly" coords="420,250,540,260,510,360,400,340" href="auditorium.html" alt="Auditorium">
  </map>
</body>
</html>

Key Exam Notes: The usemap="#campusmap" value on <img> must match the name="campusmap" attribute on <map>. Rectangle takes 4 coordinates (x1,y1,x2,y2), circle takes 3 (x,y,r), and polygon takes pairs of vertices.

Program 4: Nested Lists & Inline Frame (<iframe>) with External CSS

Aim: Demonstrate a reversed ordered list nested with an unordered list and an embedded <iframe> linked to an external stylesheet (style.css).

/* style.css (External CSS File) */
#notice-frame {
  border: 2px solid #0f766e;
  position: relative;
  left: 10px;
}
ol { color: #1e293b; font-size: 16px; }
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Lists and Iframe Demo</title>
  <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
  <h2>Syllabus Units (Reversed Order)</h2>
  <ol type="1" start="3" reversed>
    <li>Multimedia
      <ul type="disc">
        <li>Audio Tag</li>
        <li>Video Tag</li>
      </ul>
    </li>
    <li>CSS Styling</li>
    <li>HTML5 Forms</li>
  </ol>
  <iframe id="notice-frame" name="infoBox" src="notices.html" width="450" height="180"></iframe>
</body>
</html>

Frequently Asked Questions – Science Ch 1 Advanced Web Designing

Q.1 What types of questions are asked from Class 12 IT Chapter 1 in the HSC Board exam?

The online HSC Information Technology (Science) exam tests Chapter 1 through Fill in the Blanks, True/False, 1-correct, 2-correct, and 3-correct MCQs, Match the Following, brief theory concepts, and HTML5/CSS coding questions based on SOP practicals.

Q.2 How many coordinates are required for rect, circle, and poly shapes in an <area> tag?

A rect area requires 4 coordinates (top-left x,y and bottom-right x,y), a circle requires 3 coordinates (center x, center y, and radius), and a poly requires at least 6 coordinates (x,y pairs for each vertex).

Q.3 What is the difference between <link> and <style> when applying CSS?

The <style> tag embeds Internal CSS rules directly inside the <head> of a single HTML page, whereas the empty <link> tag connects an external .css stylesheet so multiple web pages share uniform styling.

Telegram group मध्ये जॉईन व्हा

Leave a Comment