diff --git a/html/3-semantic-interactive-tags/index.html b/html/3-semantic-interactive-tags/index.html index c8a8bcad..b9f8404d 100644 --- a/html/3-semantic-interactive-tags/index.html +++ b/html/3-semantic-interactive-tags/index.html @@ -1,57 +1,58 @@ - - - - HTML Training Topics - - - -
-

Semantic and Interactive Tags

-
-
-
-
-

Topics

-

- HTML provides a wide range of elements and attributes to - create semantic, accessible, and interactive web pages. - This section covers HTML topics that helps you build - more structured and dynamic content. -

- -
- - 1. Semantic Elements: <header>, - <footer>, - <article>, - <section>, - <nav>, <aside> - -
    -
  • - Overview: Semantic elements - provide meaning to the structure of a web page, - improving accessibility and SEO. -
  • -
  • - Semantic Tags: -
      -
    • - <header>: Represents - introductory content or navigational - links. -
        -
      • - Attributes: No - specific attributes, but - supports global attributes like - id, - class, - style. -
      • -
      -
    • -
    • - <footer>: Represents - the footer of a document or section. -
        -
      • - Attributes: No - specific attributes, supports - global attributes. -
      • -
      -
    • -
    • - <article>: Defines - independent, self-contained content - (e.g., blog post). -
        -
      • - Attributes: No - specific attributes, supports - global attributes. -
      • -
      -
    • -
    • - <section>: Represents - a standalone section of content. -
        -
      • - Attributes: No - specific attributes, supports - global attributes. -
      • -
      -
    • -
    • - <nav>: Defines a set - of navigation links. -
        -
      • - Attributes: No - specific attributes, supports - global attributes. -
      • -
      -
    • -
    • - <aside>: Represents - content tangentially related to the main - content (e.g., sidebar). -
        -
      • - Attributes: No - specific attributes, supports - global attributes. -
      • -
      -
    • -
    -
  • -
  • - Explanation: Semantic elements - like <header> and - <footer> define the top and - bottom of a page or section, while - <article> and - <section> organize content - logically. <nav> is used for - navigation menus, and - <aside> for secondary - content. These tags improve accessibility for - screen readers and search engine indexing by - providing meaningful structure. -
  • -
-
- -
- - 2. Form Validation Attributes: - required, pattern, - min, max - -
    -
  • - Overview: Form validation - attributes ensure user input meets specific - criteria before submission. -
  • -
  • - Attributes: -
      -
    • - required: Makes an input - field mandatory. -
        -
      • - Values: Boolean - attribute (no value needed, just - presence). -
      • -
      • - Applies to: - <input>, - <select>, - <textarea>. -
      • -
      -
    • -
    • - pattern: Specifies a - regular expression the input must match. -
        -
      • - Values: A valid - regular expression (e.g., - "[A-Za-z]{3}" for three - letters). -
      • -
      • - Applies to: - <input> with - types like text, - email, - tel. -
      • -
      -
    • -
    • - min: Sets the minimum value - for numeric or date inputs. -
        -
      • - Values: Numeric - or date value (e.g., "1" for - numbers, "2023-01-01" for - dates). -
      • -
      • - Applies to: - <input> types - like number, - range, - date. -
      • -
      -
    • -
    • - max: Sets the maximum value - for numeric or date inputs. -
        -
      • - Values: Numeric - or date value (e.g., "100" for - numbers, "2025-12-31" for - dates). -
      • -
      • - Applies to: - <input> types - like number, - range, - date. -
      • -
      -
    • -
    -
  • -
  • - Explanation: The - required attribute prevents form - submission if the field is empty. - pattern enforces specific formats - (e.g., a phone number pattern like - "\d{3}-\d{3}-\d{4}"). min and - max restrict input ranges, such as - limiting a number input to 1-100 or a date to a - specific range. These attributes reduce the need - for JavaScript validation, enhancing user - experience. -
  • -
-
- -
- - 3. Advanced Inputs: <email>, - <tel>, <date>, - <number> - -
    -
  • - Overview: Advanced input types - provide specific UI controls and validation for - different data types. -
  • -
  • - Input Types: -
      -
    • - <input type="email">: - For email addresses. -
        -
      • - Attributes: -
          -
        • - value: - Default email (e.g., - "user@example.com"). -
        • -
        • - placeholder: Hint text (e.g., - "Enter your email"). -
        • -
        • - required: - Makes input mandatory. -
        • -
        • - pattern: - Custom regex (e.g., - "[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$"). -
        • -
        • - multiple: - Allows multiple emails, - separated by commas - (boolean). -
        • -
        -
      • -
      -
    • -
    • - <input type="tel">: - For telephone numbers. -
        -
      • - Attributes: -
          -
        • - value: - Default phone number - (e.g., "123-456-7890"). -
        • -
        • - placeholder: Hint text (e.g., - "Enter your phone"). -
        • -
        • - required: - Makes input mandatory. -
        • -
        • - pattern: - Custom regex (e.g., - "\d{3}-\d{3}-\d{4}"). -
        • -
        -
      • -
      -
    • -
    • - <input type="date">: - For selecting dates. -
        -
      • - Attributes: -
          -
        • - value: - Default date (e.g., - "2023-01-01"). -
        • -
        • - min: - Earliest date (e.g., - "2023-01-01"). -
        • -
        • - max: Latest - date (e.g., - "2025-12-31"). -
        • -
        • - required: - Makes input mandatory. -
        • -
        -
      • -
      -
    • -
    • - <input type="number">: For numeric input. -
        -
      • - Attributes: -
          -
        • - value: - Default number (e.g., - "10"). -
        • -
        • - min: - Minimum value (e.g., - "1"). -
        • -
        • - max: - Maximum value (e.g., - "100"). -
        • -
        • - step: - Increment value (e.g., - "1", "0.1"). -
        • -
        • - required: - Makes input mandatory. -
        • -
        -
      • -
      -
    • -
    -
  • -
  • - Explanation: These input types - provide browser-native validation and UI. - email validates email formats, - tel accepts phone numbers (with - custom patterns), date offers a - calendar picker, and - number includes a spinner for - numeric values. Attributes like - min, max, and - step enhance control over user - input, improving form usability. -
  • -
-
- -
- 4. Internal and External Links -
    -
  • - Overview: Links connect web - pages or resources using the - <a> tag. -
  • -
  • - <a> Tag: -
      -
    • - Attributes: -
        -
      • - href: Specifies the - URL (e.g., "https://example.com" - for external, "/page.html" for - internal). -
      • -
      • - target: Defines - where to open the link (e.g., - "_self", "_blank", "_parent", - "_top"). -
      • -
      • - rel: Relationship - with the linked resource (e.g., - "nofollow", "noopener", - "noreferrer"). -
      • -
      • - download: Prompts - download of the resource (e.g., - "filename.pdf"). -
      • -
      • - title: Tooltip text - (e.g., "Visit our site"). -
      • -
      -
    • -
    -
  • -
  • - Internal Links: Links to pages - within the same site (e.g., - <a - href="/about.html">About</a>). -
  • -
  • - External Links: Links to other - websites (e.g., - <a - href="https://example.com">Example</a>). -
  • -
  • - Explanation: Internal links use - relative URLs to navigate within a site, while - external links use absolute URLs. The - target="_blank" attribute opens - links in a new tab, and - rel="noopener" enhances security - for external links. The - download attribute facilitates file - downloads, and title improves - accessibility. -
  • -
-
- -
- - 5. Linking to Specific Sections Using Anchors (<a href="#section">) - -
    -
  • - Overview: Anchor links allow - navigation to specific sections within a page. -
  • -
  • - Implementation: -
      -
    • - Anchor Link: - <a href="#section">Go to - Section</a> -
    • -
    • - Target Section: - <section - id="section">Content</section> -
    • -
    -
  • -
  • - Attributes: -
      -
    • - href: References the - section ID with a "#" prefix (e.g., - "#section"). -
    • -
    • - id: Unique identifier for - the target element (e.g., "section"). -
    • -
    -
  • -
  • - Explanation: Anchor links use - the href attribute with a "#" - followed by the target element's - id. This enables smooth navigation - within long pages (e.g., table of contents). For - cross-page linking, use - <a href="page.html#section">. - CSS can enhance the experience with smooth - scrolling (scroll-behavior: smooth). -
  • -
-
- -
- - 6. Embedding Videos and Audio - (<video>, - <audio>) - -
    -
  • - <video>: Embeds video content. -
      -
    • - Attributes: -
        -
      • - src: Video file URL - (e.g., "video.mp4"). -
      • -
      • - controls: Shows - playback controls (boolean). -
      • -
      • - autoplay: - Automatically plays the video - (boolean). -
      • -
      • - loop: Loops the - video (boolean). -
      • -
      • - muted: Mutes the - video (boolean). -
      • -
      • - poster: Image to - display before playback (e.g., - "poster.jpg"). -
      • -
      • - width: Video width - (e.g., "640"). -
      • -
      • - height: Video - height (e.g., "360"). -
      • -
      -
    • -
    -
  • -
  • - <audio>: Embeds audio content. -
      -
    • - Attributes: -
        -
      • - src: Audio file URL - (e.g., "audio.mp3"). -
      • -
      • - controls: Shows - playback controls (boolean). -
      • -
      • - autoplay: - Automatically plays the audio - (boolean). -
      • -
      • - loop: Loops the - audio (boolean). -
      • -
      • - muted: Mutes the - audio (boolean). -
      • -
      -
    • -
    -
  • -
  • - Explanation: The - <video> and - <audio> tags embed media - directly in the page. The - controls attribute provides a - browser-native player, while - autoplay, loop, and - muted control playback behavior. - For <video>, the - poster attribute sets a preview - image. Use <source> inside - these tags to provide multiple formats (e.g., - MP4, WebM) for broader compatibility. -
  • -
-
- -
- 7. Customizing Media Controls -
    -
  • - Overview: Customizing media - controls involves hiding default controls and - using JavaScript/CSS to create custom - interfaces. -
  • -
  • - Steps: -
      -
    • - Remove default controls by omitting the - controls attribute. -
    • -
    • - Use HTML and CSS to create custom - buttons (e.g., play, pause, volume). -
    • -
    • - Use JavaScript to control media playback - via the HTMLMediaElement API (e.g., - video.play(), - video.pause()). -
    • -
    -
  • -
  • - Example: -
    -                <video id="myVideo" src="video.mp4"></video>
    -                <div class="custom-controls">
    -                    <button onclick="document.getElementById('myVideo').play()">Play</button>
    -                    <button onclick="document.getElementById('myVideo').pause()">Pause</button>
    -                </div>
    -                                
    -
  • -
  • - Explanation: Custom controls - allow for a branded or unique user experience. - By removing the controls attribute, - you can design your own interface with HTML/CSS. - JavaScript interacts with the media element - through methods like play(), - pause(), and properties like - currentTime or volume. - This approach is useful for advanced - applications but requires additional development - effort. -
  • -
-
+ footer { + text-align: center; + padding: 10px; + background: #333; + color: #fff; + position: relative; + bottom: 0; + width: 100%; + } + + -
- - 8. The <label> Tag for - Accessibility - -
    -
  • - <label>: Associates a text label with an input field. -
  • -
  • - Attributes: -
      -
    • - for: Connects to the - id of the input (e.g., - <label for="email">). -
    • -
    -
  • -
  • - Example: -
    -                    <label for="email">Email:</label>
    -                    <input type="email" id="email" />
    -                                
    -
  • -
  • - Explanation: The - label element enhances usability - and accessibility by helping screen readers - understand the purpose of input fields. Clicking - a label also focuses the linked input. -
  • -
-
+ +
+

Semantic and Interactive Tags

+
+
+
+
+

Topics

+

+ HTML provides a wide range of elements and attributes to + create semantic, accessible, and interactive web pages. + This section covers HTML topics that helps you build + more structured and dynamic content. +

-
- - 9. The <button> Tag and Its Types - -
    -
  • - Overview: Represents a - clickable button that can submit forms, trigger - scripts, or perform actions. -
  • -
  • - Attributes: -
      -
    • - type: Can be "submit", - "reset", or "button". -
    • -
    • - disabled: Disables the - button (boolean). -
    • -
    • - name, value: - Form data identifiers. -
    • -
    -
  • -
  • - Explanation: Use - type="submit" to send form data, - type="reset" to clear inputs, and - type="button" for - JavaScript-triggered actions. Buttons are - essential for interaction and control in UI - design. -
  • -
-
-
-
-
-
-

Assignments

+
+ + 1. Semantic Elements: <header>, + <footer>, + <article>, + <section>, + <nav>, <aside> +
  • - Create a webpage using semantic elements to - structure content like a blog. + Overview: Semantic elements + provide meaning to the structure of a web page, + improving accessibility and SEO.
  • - Create a registration form with all input types and - proper validations. + Semantic Tags: +
      +
    • + <header>: Represents + introductory content or navigational + links. +
        +
      • + Attributes: No + specific attributes, but + supports global attributes like + id, + class, + style. +
      • +
      +
    • +
    • + <footer>: Represents + the footer of a document or section. +
        +
      • + Attributes: No + specific attributes, supports + global attributes. +
      • +
      +
    • +
    • + <article>: Defines + independent, self-contained content + (e.g., blog post). +
        +
      • + Attributes: No + specific attributes, supports + global attributes. +
      • +
      +
    • +
    • + <section>: Represents + a standalone section of content. +
        +
      • + Attributes: No + specific attributes, supports + global attributes. +
      • +
      +
    • +
    • + <nav>: Defines a set + of navigation links. +
        +
      • + Attributes: No + specific attributes, supports + global attributes. +
      • +
      +
    • +
    • + <aside>: Represents + content tangentially related to the main + content (e.g., sidebar). +
        +
      • + Attributes: No + specific attributes, supports + global attributes. +
      • +
      +
    • +
  • - Build a multi-page website with working navigation - links. + Explanation: Semantic elements + like <header> and + <footer> define the top and + bottom of a page or section, while + <article> and + <section> organize content + logically. <nav> is used for + navigation menus, and + <aside> for secondary + content. These tags improve accessibility for + screen readers and search engine indexing by + providing meaningful structure. +
  • +
+
+ +
+ + 2. Form Validation Attributes: + required, pattern, + min, max + +
    +
  • + Overview: Form validation + attributes ensure user input meets specific + criteria before submission.
  • - Add a video and an audio clip to a webpage with - captions and descriptions. + Attributes: +
      +
    • + required: Makes an input + field mandatory. +
        +
      • + Values: Boolean + attribute (no value needed, just + presence). +
      • +
      • + Applies to: + <input>, + <select>, + <textarea>. +
      • +
      +
    • +
    • + pattern: Specifies a + regular expression the input must match. +
        +
      • + Values: A valid + regular expression (e.g., + "[A-Za-z]{3}" for three + letters). +
      • +
      • + Applies to: + <input> with + types like text, + email, + tel. +
      • +
      +
    • +
    • + min: Sets the minimum value + for numeric or date inputs. +
        +
      • + Values: Numeric + or date value (e.g., "1" for + numbers, "2023-01-01" for + dates). +
      • +
      • + Applies to: + <input> types + like number, + range, + date. +
      • +
      +
    • +
    • + max: Sets the maximum value + for numeric or date inputs. +
        +
      • + Values: Numeric + or date value (e.g., "100" for + numbers, "2025-12-31" for + dates). +
      • +
      • + Applies to: + <input> types + like number, + range, + date. +
      • +
      +
    • +
  • - Build a form with proper - <label> usage linked to inputs - for name, email, and message. Style the labels for - readability. Add a <button> to - your form and demonstrate the difference between - type="submit", - type="reset", and - type="button". + Explanation: The + required attribute prevents form + submission if the field is empty. + pattern enforces specific formats + (e.g., a phone number pattern like + "\d{3}-\d{3}-\d{4}"). min and + max restrict input ranges, such as + limiting a number input to 1-100 or a date to a + specific range. These attributes reduce the need + for JavaScript validation, enhancing user + experience.
-
-
-
-

Assignments

+ +
- - Krishna Chaitanya Alapati + + 3. Advanced Inputs: <email>, + <tel>, <date>, + <number> - +
    +
  • + Overview: Advanced input types + provide specific UI controls and validation for + different data types. +
  • +
  • + Input Types: +
      +
    • + <input type="email">: + For email addresses. +
        +
      • + Attributes: +
          +
        • + value: + Default email (e.g., + "user@example.com"). +
        • +
        • + placeholder: Hint text (e.g., + "Enter your email"). +
        • +
        • + required: + Makes input mandatory. +
        • +
        • + pattern: + Custom regex (e.g., + "[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$"). +
        • +
        • + multiple: + Allows multiple emails, + separated by commas + (boolean). +
        • +
        +
      • +
      +
    • +
    • + <input type="tel">: + For telephone numbers. +
        +
      • + Attributes: +
          +
        • + value: + Default phone number + (e.g., "123-456-7890"). +
        • +
        • + placeholder: Hint text (e.g., + "Enter your phone"). +
        • +
        • + required: + Makes input mandatory. +
        • +
        • + pattern: + Custom regex (e.g., + "\d{3}-\d{3}-\d{4}"). +
        • +
        +
      • +
      +
    • +
    • + <input type="date">: + For selecting dates. +
        +
      • + Attributes: +
          +
        • + value: + Default date (e.g., + "2023-01-01"). +
        • +
        • + min: + Earliest date (e.g., + "2023-01-01"). +
        • +
        • + max: Latest + date (e.g., + "2025-12-31"). +
        • +
        • + required: + Makes input mandatory. +
        • +
        +
      • +
      +
    • +
    • + <input type="number">: For numeric input. +
        +
      • + Attributes: +
          +
        • + value: + Default number (e.g., + "10"). +
        • +
        • + min: + Minimum value (e.g., + "1"). +
        • +
        • + max: + Maximum value (e.g., + "100"). +
        • +
        • + step: + Increment value (e.g., + "1", "0.1"). +
        • +
        • + required: + Makes input mandatory. +
        • +
        +
      • +
      +
    • +
    +
  • +
  • + Explanation: These input types + provide browser-native validation and UI. + email validates email formats, + tel accepts phone numbers (with + custom patterns), date offers a + calendar picker, and + number includes a spinner for + numeric values. Attributes like + min, max, and + step enhance control over user + input, improving form usability. +
  • +
+
- Saket Raj - + 4. Internal and External Links +
    +
  • + Overview: Links connect web + pages or resources using the + <a> tag. +
  • +
  • + <a> Tag: +
      +
    • + Attributes: +
        +
      • + href: Specifies the + URL (e.g., "https://example.com" + for external, "/page.html" for + internal). +
      • +
      • + target: Defines + where to open the link (e.g., + "_self", "_blank", "_parent", + "_top"). +
      • +
      • + rel: Relationship + with the linked resource (e.g., + "nofollow", "noopener", + "noreferrer"). +
      • +
      • + download: Prompts + download of the resource (e.g., + "filename.pdf"). +
      • +
      • + title: Tooltip text + (e.g., "Visit our site"). +
      • +
      +
    • +
    +
  • +
  • + Internal Links: Links to pages + within the same site (e.g., + <a + href="/about.html">About</a>). +
  • +
  • + External Links: Links to other + websites (e.g., + <a + href="https://example.com">Example</a>). +
  • +
  • + Explanation: Internal links use + relative URLs to navigate within a site, while + external links use absolute URLs. The + target="_blank" attribute opens + links in a new tab, and + rel="noopener" enhances security + for external links. The + download attribute facilitates file + downloads, and title improves + accessibility. +
  • +
+
- - Parthasaradhi Manikonda + + 5. Linking to Specific Sections Using Anchors (<a href="#section">) - +
    +
  • + Overview: Anchor links allow + navigation to specific sections within a page. +
  • +
  • + Implementation: +
      +
    • + Anchor Link: + <a href="#section">Go to + Section</a> +
    • +
    • + Target Section: + <section + id="section">Content</section> +
    • +
    +
  • +
  • + Attributes: +
      +
    • + href: References the + section ID with a "#" prefix (e.g., + "#section"). +
    • +
    • + id: Unique identifier for + the target element (e.g., "section"). +
    • +
    +
  • +
  • + Explanation: Anchor links use + the href attribute with a "#" + followed by the target element's + id. This enables smooth navigation + within long pages (e.g., table of contents). For + cross-page linking, use + <a href="page.html#section">. + CSS can enhance the experience with smooth + scrolling (scroll-behavior: smooth). +
  • +
+
- - Barlapudi Pallavi Krishna + + 6. Embedding Videos and Audio + (<video>, + <audio>) - -
-
- Surya - -
-
- Mounika - -
-
- Esha - +
    +
  • + <video>: Embeds video content. +
      +
    • + Attributes: +
        +
      • + src: Video file URL + (e.g., "video.mp4"). +
      • +
      • + controls: Shows + playback controls (boolean). +
      • +
      • + autoplay: + Automatically plays the video + (boolean). +
      • +
      • + loop: Loops the + video (boolean). +
      • +
      • + muted: Mutes the + video (boolean). +
      • +
      • + poster: Image to + display before playback (e.g., + "poster.jpg"). +
      • +
      • + width: Video width + (e.g., "640"). +
      • +
      • + height: Video + height (e.g., "360"). +
      • +
      +
    • +
    +
  • +
  • + <audio>: Embeds audio content. +
      +
    • + Attributes: +
        +
      • + src: Audio file URL + (e.g., "audio.mp3"). +
      • +
      • + controls: Shows + playback controls (boolean). +
      • +
      • + autoplay: + Automatically plays the audio + (boolean). +
      • +
      • + loop: Loops the + audio (boolean). +
      • +
      • + muted: Mutes the + audio (boolean). +
      • +
      +
    • +
    +
  • +
  • + Explanation: The + <video> and + <audio> tags embed media + directly in the page. The + controls attribute provides a + browser-native player, while + autoplay, loop, and + muted control playback behavior. + For <video>, the + poster attribute sets a preview + image. Use <source> inside + these tags to provide multiple formats (e.g., + MP4, WebM) for broader compatibility. +
  • +
+
- Resha - + 7. Customizing Media Controls +
    +
  • + Overview: Customizing media + controls involves hiding default controls and + using JavaScript/CSS to create custom + interfaces. +
  • +
  • + Steps: +
      +
    • + Remove default controls by omitting the + controls attribute. +
    • +
    • + Use HTML and CSS to create custom + buttons (e.g., play, pause, volume). +
    • +
    • + Use JavaScript to control media playback + via the HTMLMediaElement API (e.g., + video.play(), + video.pause()). +
    • +
    +
  • +
  • + Example: +
    +                <video id="myVideo" src="video.mp4"></video>
    +                <div class="custom-controls">
    +                    <button onclick="document.getElementById('myVideo').play()">Play</button>
    +                    <button onclick="document.getElementById('myVideo').pause()">Pause</button>
    +                </div>
    +                                
    +
  • +
  • + Explanation: Custom controls + allow for a branded or unique user experience. + By removing the controls attribute, + you can design your own interface with HTML/CSS. + JavaScript interacts with the media element + through methods like play(), + pause(), and properties like + currentTime or volume. + This approach is useful for advanced + applications but requires additional development + effort. +
  • +
+
- Sakshi - + + 8. The <label> Tag for + Accessibility + +
    +
  • + <label>: Associates a text label with an input field. +
  • +
  • + Attributes: +
      +
    • + for: Connects to the + id of the input (e.g., + <label for="email">). +
    • +
    +
  • +
  • + Example: +
    +                    <label for="email">Email:</label>
    +                    <input type="email" id="email" />
    +                                
    +
  • +
  • + Explanation: The + label element enhances usability + and accessibility by helping screen readers + understand the purpose of input fields. Clicking + a label also focuses the linked input. +
  • +
+
- Supriya - + + 9. The <button> Tag and Its Types + +
    +
  • + Overview: Represents a + clickable button that can submit forms, trigger + scripts, or perform actions. +
  • +
  • + Attributes: +
      +
    • + type: Can be "submit", + "reset", or "button". +
    • +
    • + disabled: Disables the + button (boolean). +
    • +
    • + name, value: + Form data identifiers. +
    • +
    +
  • +
  • + Explanation: Use + type="submit" to send form data, + type="reset" to clear inputs, and + type="button" for + JavaScript-triggered actions. Buttons are + essential for interaction and control in UI + design. +
  • +
-
-

© 2025 HTML Training Program

-
- - - +
+
+

Assignments

+
    +
  • + Create a webpage using semantic elements to + structure content like a blog. +
  • +
  • + Create a registration form with all input types and + proper validations. +
  • +
  • + Build a multi-page website with working navigation + links. +
  • +
  • + Add a video and an audio clip to a webpage with + captions and descriptions. +
  • +
  • + Build a form with proper + <label> usage linked to inputs + for name, email, and message. Style the labels for + readability. Add a <button> to + your form and demonstrate the difference between + type="submit", + type="reset", and + type="button". +
  • +
+
+
+
+

Assignments

+
+ + Krishna Chaitanya Alapati + + +
+
+ Saket Raj + +
+
+ + Parthasaradhi Manikonda + + +
+
+ + Barlapudi Pallavi Krishna + + +
+
+ Surya + +
+
+ Mounika + +
+
+ Esha + +
+
+ Resha + +
+
+ Sakshi + +
+
+ Supriya + +
+
+
+
+

© 2025 HTML Training Program

+
+ + + + \ No newline at end of file diff --git a/html/3-semantic-interactive-tags/navya/assignment-1/blog.html b/html/3-semantic-interactive-tags/navya/assignment-1/blog.html new file mode 100644 index 00000000..22c4a7f1 --- /dev/null +++ b/html/3-semantic-interactive-tags/navya/assignment-1/blog.html @@ -0,0 +1,62 @@ + + + + + + + Blog webpage + + + + +
+

Navya Jain

+ + + +
+
+
+
+

Blog

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus ab tempora sequi sed voluptate + similique voluptas magnam exercitationem voluptatum incidunt nihil, fugiat eveniet architecto + quaerat distinctio aperiam obcaecati fugit iusto.

+
+ +
+

Blog

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique eaque animi est dignissimos dicta + quisquam ad explicabo eius, corrupti iste numquam, consequatur at natus temporibus. Modi, ipsa + omnis? Sequi, neque!

+
+
+

Blog

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique eaque animi est dignissimos dicta + quisquam ad explicabo eius, corrupti iste numquam, consequatur at natus temporibus. Modi, ipsa + omnis? Sequi, neque!

+
+ + +
+
+ + + + + \ No newline at end of file diff --git a/html/3-semantic-interactive-tags/navya/assignment-2/registration.html b/html/3-semantic-interactive-tags/navya/assignment-2/registration.html new file mode 100644 index 00000000..f0196b98 --- /dev/null +++ b/html/3-semantic-interactive-tags/navya/assignment-2/registration.html @@ -0,0 +1,70 @@ + + + + + + + Registration form + + + +

Singing Club Registration

+
+ + Personal Information + + +

+ + + +

+ + + + +

+ + + + +

+ + + + +

+ + Singing Preference + +
+ +
+ + +
+ + +
+ + +
+ + +

+ +
+ +
+ +
+ +
+ +

+ +
+ + + + \ No newline at end of file diff --git a/html/3-semantic-interactive-tags/navya/assignment-3/navigate.html b/html/3-semantic-interactive-tags/navya/assignment-3/navigate.html new file mode 100644 index 00000000..9829653f --- /dev/null +++ b/html/3-semantic-interactive-tags/navya/assignment-3/navigate.html @@ -0,0 +1,25 @@ + + + + + + + Navigation Links + + + +
+

Welcome to Navigation Links

+ +
+ + + + + \ No newline at end of file diff --git a/html/3-semantic-interactive-tags/navya/assignment-4/audio-video.html b/html/3-semantic-interactive-tags/navya/assignment-4/audio-video.html new file mode 100644 index 00000000..f01e9980 --- /dev/null +++ b/html/3-semantic-interactive-tags/navya/assignment-4/audio-video.html @@ -0,0 +1,36 @@ + + + + + + + Media Page + + + +

Media Example: Video and Audio

+ +
+

Sample Video

+

This is a short sample video with captions explaining the content.

+ +
+ +
+ +
+

Sample Audio

+

This audio clip is a short narration about the content shown above.

+ +
+ + + + \ No newline at end of file diff --git a/html/3-semantic-interactive-tags/navya/assignment-5/formbutton.html b/html/3-semantic-interactive-tags/navya/assignment-5/formbutton.html new file mode 100644 index 00000000..d6049cd6 --- /dev/null +++ b/html/3-semantic-interactive-tags/navya/assignment-5/formbutton.html @@ -0,0 +1,31 @@ + + + + + + + Form & Button + + + + +
+ + + + + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/html/3-semantic-interactive-tags/navya/assignment-5/styles/style.css b/html/3-semantic-interactive-tags/navya/assignment-5/styles/style.css new file mode 100644 index 00000000..0abaaf42 --- /dev/null +++ b/html/3-semantic-interactive-tags/navya/assignment-5/styles/style.css @@ -0,0 +1,50 @@ +form { + max-width: 400px; + margin: 50px auto; + padding: 20px; + border: 1px solid #ccc; + border-radius: 5px; + font-family: Arial, sans-serif; +} + +label { + display: block; + margin-top: 15px; + font-weight: bold; +} + +input, +textarea { + width: 100%; + padding: 8px; + margin-top: 5px; + border: 1px solid #aaa; + border-radius: 4px; + box-sizing: border-box; +} + +button { + margin-top: 15px; + padding: 10px 15px; + border: none; + border-radius: 4px; + cursor: pointer; + font-weight: bold; +} + +.btn-submit { + background-color: #28a745; + color: white; +} + +.btn-reset { + background-color: #dc3545; + color: white; + margin-left: 10px; +} + +.btn-plain { + background-color: #007bff; + color: white; + margin-left: 10px; +} \ No newline at end of file diff --git a/html/3-semantic-interactive-tags/navya/index.html b/html/3-semantic-interactive-tags/navya/index.html new file mode 100644 index 00000000..dde7651e --- /dev/null +++ b/html/3-semantic-interactive-tags/navya/index.html @@ -0,0 +1,46 @@ + + + + + + + + HTML Assignments | Navya Jain + + + +
+ Assignment 1 + +
+ +
+ + Assignment 2 + + +
+ +
+ + Assignment 3 + + +
+ +
+ + Assignment 4 + + +
+ +
+ + Assignment 5 + + +
+ + + \ No newline at end of file