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

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

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

Before solving the textbook exercises, revise the core HTML5 elements, input validation attributes, multimedia tags, and CSS layout properties prescribed in the Maharashtra Board Class 12 IT (Commerce) Chapter 1 syllabus:

Tag / Property / Concept Category Purpose & Important Attributes
<!DOCTYPE html> HTML5 Declaration Starting declaration of an HTML5 document indicating the document type definition to the browser.
<meta> Document Metadata Placed inside <head>; describes page metadata using charset, name, content, and http-equiv.
<header>, <nav>, <section>, <article>, <aside>, <footer> Semantic Elements Define meaningful structural blocks on web pages for accessibility, browsers, and search engines.
<input type="email">, tel, url, date, time, number, range, color, search HTML5 Form Controls Specialized user input controls with built-in browser UI (date picker, color picker) and automatic format checking.
required, placeholder, pattern, min, max, step, readonly, disabled, autofocus Input Restrictions Enforce mandatory fields, regular-expression patterns, numeric bounds, hints, and field states without JavaScript.
<textarea> Multi-Line Input Creates a multi-line text box for addresses or feedback using rows and cols attributes.
<ol>, <ul>, <dl> HTML5 Lists Ordered list (type, start, reversed), unordered bulleted list, and definition list (<dt>, <dd>).
<audio> & <source> Audio Multimedia Embeds audio files (MP3, OGG, WAV) using src, controls, autoplay, loop, and muted.
<video> & <source> Video Multimedia Embeds video clips (MP4, WebM, OGG) using src, controls, width, height, poster, and loop.
<map> & <area> Client-Side Image Map Turns image regions into clickable links via usemap; <area> uses shape, coords, href, and alt.
<iframe> Inline Frame Embeds another webpage or HTML snippet inside the current document using src, srcdoc, name, width, and height.
Inline, Internal & External CSS CSS Integration Applied via style attribute, <style> inside <head>, or external .css file linked with <link>.
ID (#id), Class (.class), Universal (*), Group (h2, p) CSS Selectors Target unique elements, reusable groups, every tag on the page, or multiple selectors in one rule.
position (static, relative, fixed, absolute) CSS Positioning Controls document flow placement and overlapping elements using top, left, right, and bottom.
float & display CSS Flow & Layout float aligns content (left, right, none); display controls box rendering (inline, block, inline-block, none).

2. Balbharati Textbook Exercise Solutions – Commerce 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 HTML, it indicates the document type definition being used by the document. <!DOCTYPE html>
2 The ________ is a tag in HTML that describes some aspects of contents of a webpage. <meta>
3 The <ol> tag defines an ________. Ordered List
4 An unordered list is created using the ________ tag. <ul>
5 The ________ element creates an inline frame. <iframe>
6 ________ tag is used to specify video on an HTML document. <video>
7 If a web developer wants to add a description to an image, they must use the ________ attribute of the <img> tag. alt
8 The ________ property is used to set the position for an element in CSS. position
9 The float property defines the ________ of content. flow
10 ________ is used with elements that overlap with each other. Positioning

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

No. Statement Answer & Reason
1 HTML is an Object Oriented Programming Language. False. HTML is a HyperText Markup Language for structuring web documents, not an object-oriented programming language.
2 charset is used for character encoding declaration. True. For example, <meta charset="UTF-8"> specifies UTF-8 character encoding for the page.
3 An unordered list can be numerical or alphabetical. False. Unordered lists (<ul>) display bullet symbols; numerical and alphabetical numbering belong to ordered lists (<ol>).
4 Multilevel lists can be created in HTML5. True. One list (<ul> or <ol>) can be nested inside an <li> element of another list to build multilevel lists.
5 srcdoc specifies the HTML content of the page to show in the <iframe>. True. The srcdoc attribute holds inline HTML code directly rendered inside the frame.
6 The controls attribute is not used to add play, pause, and volume. False. The controls attribute explicitly adds play, pause, seek, and volume controls to <audio> and <video> players.
7 .cs is the extension of a CSS file. False. External Cascading Style Sheet files always use the .css extension.

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

No. Question & Options Correct Option & Explanation
1 ________ element is used to create a client-side image map.
a) <img>   b) <td>   c) <map>   d) <usemap>
c) <map>
The <map> container defines the image map areas, and usemap is an attribute on <img> referencing it.
2 The ________ tag is used to embed audio files on web pages.
a) <sound>   b) <audio>   c) <video>   d) <mp3>
b) <audio>
HTML5 introduced the native <audio> tag for playing sound files directly in browsers.
3 A programmer wants to define a range for age between 18 and 50; he will use a form with which appropriate control?
a) number   b) compare   c) range   d) Textboxes
c) range
<input type="range" min="18" max="50"> displays a slider bounded by minimum and maximum values.
4 ________ character is used to create an ID selector in CSS.
a) $   b) @   c) #   d) .
c) #
An ID selector begins with a hash symbol (e.g., #header) and targets a unique element ID.
5 Which tag is used to link an external CSS stylesheet in the <head> section?
a) <style>   b) <link>   c) <script>   d) <meta>
b) <link>
<link rel="stylesheet" href="style.css"> connects an external stylesheet to the HTML page.

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

No. Question & Options Correct Answers & Reason
1 List within another list, either ________ list or ________ list, is called a nested list.
a) multilevel   b) ordered   c) unordered   d) general   e) cascading
b) ordered and c) unordered
An ordered list (<ol>) or unordered list (<ul>) placed inside another list forms a nested list.
2 Image maps are of two types: ________ and ________.
a) Network-side   b) Client-side   c) Computer-side   d) Server-side   e) Browser-side
b) Client-side and d) Server-side
HTML supports client-side maps (usemap) and server-side maps (ismap).
3 A CSS rule set contains ________ and ________.
a) Set   b) Selector   c) Declaration block   d) Tag   e) Header
b) Selector and c) Declaration block
Every CSS rule pairs a selector with a curly-braced declaration block of property-value pairs.
4 Client-side image maps can be created using two elements: ________ and ________.
a) <area>   b) <image>   c) <usemap>   d) <map>   e) <server>
a) <area> and d) <map>
<map> defines the map container and <area> defines each clickable hotspot region.

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 Types of CSS positioning properties are:
a) static   b) fixed   c) dynamic   d) absolute   e) float   f) center
a) static, b) fixed, and d) absolute

Q.6 Match the Following & Rearrange / Correct Syntax

Group A (Tag / Property / Attribute) Group B (Function / Description) Correct Match
1. <ul> a) Study of creating web pages with visual presentation 1 – b) Bullet list
2. usemap b) Bullet list 2 – c) Client-side image map reference
3. color c) Client-side image map reference 3 – d) CSS property to set foreground text color
4. <img> d) CSS property to set foreground text color 4 – e) Inserts an image on a webpage
5. <input type="image"> e) Inserts an image on a webpage 5 – f) Image used as a submit button inside a form

Rearrange the HTML5 Video Code in Correct Order: In exam questions, jumbled tags like </video>, <source src="movie.mp4" type="video/mp4">, and <video controls width="320" height="240"> must be arranged with the opening container tag first, nested <source> and fallback text inside, and the closing </video> tag last:

<video controls width="320" height="240">
  <source src="movie.mp4" type="video/mp4">
  Your browser does not support the video tag.
</video>

3. Short Answer Questions – Class 12 IT (Commerce) Chapter 1

Q.1 Explain the structure of a basic HTML5 document.

Answer: Every HTML5 document follows a clean, standardized hierarchy consisting of four primary parts:

  • <!DOCTYPE html>: Placed on the first line to instruct the web browser that the document uses HTML5.
  • <html>: The root container wrapping the entire web page content.
  • <head>: Holds non-visible metadata such as <meta charset="UTF-8">, <title>, and linked CSS stylesheets (<link> or <style>).
  • <body>: Contains all visible web page elements including headings, lists, forms, images, audio, video, and inline frames.

Q.2 What are the new form controls introduced in HTML5?

Answer: HTML5 introduced dedicated <input> types so browsers can validate data and show user-friendly pickers without external scripts:

  • email & url: Automatically verify valid email addresses and website URLs on form submission.
  • tel & search: Provide specialized input fields for telephone numbers and search queries.
  • number & range: Accept numeric values or slider selections restricted by min, max, and step.
  • date, month, week, time & color: Render built-in calendar, time, and color picker controls.

Q.3 What is CSS? Write its advantages and three types.

Answer: CSS (Cascading Style Sheets) describes how HTML elements are styled and laid out on screen, paper, or other media. Its main advantages are:

  • Saves Time & Effort: One external .css file can style an entire multi-page commerce website at once.
  • Faster Page Loading: Removes repetitive inline formatting attributes from HTML tags.
  • Easy Maintenance: Changing a single CSS rule updates fonts, colors, or spacing across every linked page.
CSS Type Implementation Use Case
Inline CSS Written inside an HTML tag using the style attribute Quick styling for a single HTML element
Internal CSS Placed inside <style>...</style> within <head> Unique styling for one standalone webpage
External CSS Saved in a separate .css file linked via <link> Consistent branding across multiple pages

Q.4 Explain the <ol> and <ul> list attributes and Definition Lists in HTML5.

Answer: HTML5 provides three list structures for organizing items cleanly:

  • Ordered List (<ol>): Displays numbered or lettered items. Key attributes include type (1, A, a, I, i), start (starting index), and reversed (counts down in descending order).
  • Unordered List (<ul>): Displays bulleted items; bullet style is controlled in CSS via list-style-type (disc, circle, square, none).
  • Definition List (<dl>): Pairs terms (<dt>) with descriptions (<dd>) for glossaries or product specifications.

Q.5 What is Web Hosting? Briefly explain Shared, Free, and Dedicated hosting.

Answer: Web hosting provides server disk space and network connectivity so websites remain accessible online 24/7. The three common hosting types in the Balbharati syllabus are:

  • Shared Hosting: Multiple websites share CPU, RAM, and disk resources on a single server, making it affordable for small businesses and student projects.
  • Free Hosting: Zero-cost hosting with limited storage, bandwidth, and domain options, suitable for practice pages.
  • Dedicated Hosting: An entire physical server is reserved for one website or enterprise, offering maximum speed, control, and security.

4. Solved HTML5 & CSS Programs (Commerce SOP & Board Exam Practice)

Program 1: HTML5 Customer Enquiry Form with Validation & Internal CSS

Aim: Write an HTML5 program to design a Commerce business enquiry form using text, email, tel, date, and number controls with Internal CSS.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="description" content="Commerce Business Enquiry Form">
  <title>Customer Enquiry Form</title>
  <style>
    body { font-family: Arial, sans-serif; background-color: #f8fafc; }
    .enquiry-card { width: 400px; margin: 20px auto; padding: 20px; border: 2px solid #0369a1; background-color: #ffffff; }
    h2 { color: #0369a1; text-align: center; }
    label { display: block; margin-top: 10px; font-weight: bold; }
  </style>
</head>
<body>
  <div class="enquiry-card">
    <h2>Product Order Enquiry</h2>
    <form action="enquiry.html" method="post">
      <label>Customer Name:</label>
      <input type="text" name="cname" placeholder="Enter full name" required autofocus>
      <label>Email Address:</label>
      <input type="email" name="cemail" placeholder="buyer@company.com" required>
      <label>Contact Number:</label>
      <input type="tel" name="cmobile" pattern="[0-9]{10}" placeholder="10-digit mobile" required>
      <label>Order Quantity (1-100):</label>
      <input type="number" name="qty" min="1" max="100" value="1">
      <label>Preferred Delivery Date:</label>
      <input type="date" name="ddate" required><br><br>
      <input type="submit" value="Submit Enquiry">
    </form>
  </div>
</body>
</html>

Exam Tip: Always include required on mandatory fields and use pattern="[0-9]{10}" for 10-digit telephone validation.

Program 2: Ordered List with Roman Numerals & Nested Unordered List

Aim: Write an HTML5 program to display top business departments using a Roman numeral ordered list (type="I") containing a nested unordered list.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Commerce Departments List</title>
</head>
<body>
  <h2>Company Departments</h2>
  <ol type="I">
    <li>Finance &amp; Accounts
      <ul>
        <li>GST Billing</li>
        <li>Payroll Audit</li>
      </ul>
    </li>
    <li>Digital Marketing</li>
    <li>Customer Support</li>
  </ol>
</body>
</html>

Program 3: Embedding Audio & Video with Fallback Text

Aim: Write HTML5 code to embed an audio track and a promotional video with playback controls and multiple source formats.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Multimedia Showcase</title>
</head>
<body>
  <h2>Audio &amp; Video Presentation</h2>
  <audio controls loop>
    <source src="jingle.mp3" type="audio/mpeg">
    <source src="jingle.ogg" type="audio/ogg">
    Your browser does not support the audio element.
  </audio>
  <br><br>
  <video width="360" height="240" controls poster="thumb.jpg">
    <source src="product-demo.mp4" type="video/mp4">
    <source src="product-demo.webm" type="video/webm">
    Your browser does not support the video tag.
  </video>
</body>
</html>

Program 4: Client-Side Image Map & Absolute CSS Positioning

Aim: Create an HTML5 client-side image map with rect, circle, and poly clickable hotspots, plus an absolutely positioned CSS notice box.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Store Floor Map</title>
  <style>
    .notice-box {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 200px;
      padding: 10px;
      background-color: #dbeafe;
      border: 1px solid #1d4ed8;
    }
  </style>
</head>
<body>
  <h2>Interactive Store Directory</h2>
  <img src="store-map.jpg" alt="Retail Store Floor Plan" usemap="#storemap" width="600" height="400">
  <map name="storemap">
    <area shape="rect" coords="25,40,180,140" href="electronics.html" alt="Electronics Section">
    <area shape="circle" coords="320,200,50" href="billing.html" alt="Billing Counter">
    <area shape="poly" coords="410,250,550,270,520,360,400,340" href="apparel.html" alt="Apparel Zone">
  </map>
  <div class="notice-box">Click any section on the map to explore.</div>
</body>
</html>

Frequently Asked Questions – Commerce Ch 1 Advanced Web Designing

Q.1 Is Class 12 IT (Commerce) Chapter 1 Advanced Web Designing similar to the Science stream syllabus?

Yes. In the MSBSHSE Balbharati Class 12 Information Technology textbook, Chapter 1 (Advanced Web Designing) covers the same core HTML5 tags, form controls, multimedia elements, client-side image mapping, CSS selectors, positioning, and web hosting concepts for Commerce and Science students, with Commerce SOP practicals emphasizing business and e-commerce web pages.

Q.2 What is the difference between <ol> and <ul> in HTML5?

An ordered list (<ol>) renders items in a sequential numbered or alphabetical format using type, start, and reversed attributes, whereas an unordered list (<ul>) displays items with bullet markers styled via CSS list-style-type.

Q.3 How many coordinates does each shape require in an <area> tag?

A rect shape requires 4 coordinates (x1,y1,x2,y2), a circle shape requires 3 coordinates (x,y,radius), and a poly shape requires 6 or more coordinates representing the x,y vertices of the polygon.

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

Leave a Comment