ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalITEC3111Html5
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    ITEC3111

    Web Engineering

    Progress0 / 24 done
    Topics24
    1Web programming languages (HTML5, CSS3, JavaScript, PHP/JSP/ASP.Net)2HTML53CSS34JavaScript5PHP6JSP7ASP.Net8Design principles of Web based applications9Web platform constraints10Software as a Service (SaaS)11Web standards12Responsive Web Design13Web Applications14Browser/Server Communication15Storage Tier16Cookies and Sessions17Input Validation18Full stack state management19Web App Security - Browser Isolation20Network Attacks and Session Attacks21Large scale applications22Performance of Web Applications23Data Centers24Web Testing and Web Maintenance
    4 min read
    Topic 2 of 24
    Topic Study Note Illustration
    02

    HTML5

    HTML5 is the latest version of HTML used to create and structure web pages . It defines how content (text, images, videos, etc.) is displayed in a...

    ๐ŸŒ HTML5 (HyperText Markup Language)


    ๐Ÿ“Œ 1. Definition

    HTML5 is the latest version of HTML used to create and structure web pages. It defines how content (text, images, videos, etc.) is displayed in a browser.


    ๐Ÿงฑ 2. Basic Structure of HTML5 Page

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>My Web Page</title>
    </head>
    <body>
        <h1>Hello World</h1>
        <p>This is HTML5 page.</p>
    </body>
    </html>
    

    ๐Ÿ”‘ Explanation

    • <!DOCTYPE html> โ†’ tells browser this is HTML5
    • <html> โ†’ root element
    • <head> โ†’ metadata (title, charset)
    • <body> โ†’ visible content

    ๐Ÿท๏ธ 3. HTML Elements & Tags

    ๐Ÿ“Œ Definition

    An HTML element consists of:

    <tag>Content</tag>
    

    โญ Common Tags

    • <h1> to <h6> โ†’ headings
    • <p> โ†’ paragraph
    • <a> โ†’ hyperlink
    • <img> โ†’ image
    • <ul>, <ol>, <li> โ†’ lists

    ๐Ÿง  4. New Features of HTML5

    1. Semantic Elements (Important for Exams)

    These give meaning to content:

    • <header> โ†’ top section
    • <footer> โ†’ bottom section
    • <article> โ†’ independent content
    • <section> โ†’ page section
    • <nav> โ†’ navigation links

    โœ… Example

    <header>
      <h1>Website Title</h1>
    </header>
    

    2. Multimedia Support

    HTML5 supports audio and video without plugins.

    <video controls>
      <source src="video.mp4">
    </video>
    
    <audio controls>
      <source src="audio.mp3">
    </audio>
    

    3. Canvas (Graphics)

    Used to draw graphics via JavaScript.

    <canvas id="myCanvas"></canvas>
    

    4. Forms Improvements

    New input types:

    • email
    • date
    • number
    • range
    <input type="email" placeholder="Enter email">
    

    5. Local Storage

    Stores data in browser:

    localStorage.setItem("name", "Ali");
    

    ๐Ÿ“ 5. Attributes

    ๐Ÿ“Œ Definition

    Attributes provide extra information about elements.

    <a href="https://example.com">Visit</a>
    

    โญ Common Attributes

    • id
    • class
    • src
    • href
    • alt

    ๐Ÿ“‹ 6. Lists in HTML5

    Unordered List

    <ul>
      <li>Item 1</li>
    </ul>
    

    Ordered List

    <ol>
      <li>Item 1</li>
    </ol>
    

    ๐Ÿงพ 7. Tables in HTML5

    <table>
      <tr>
        <th>Name</th>
        <th>Age</th>
      </tr>
      <tr>
        <td>Ali</td>
        <td>20</td>
      </tr>
    </table>
    

    ๐Ÿงฉ 8. Forms in HTML5

    <form>
      Name: <input type="text"><br>
      Email: <input type="email"><br>
      <input type="submit">
    </form>
    

    ๐Ÿ“Š 9. HTML5 Page Layout (Diagram Description)

    ๐Ÿ‘‰ Draw this in exam:

    +-------------------+
    |     Header        |
    +-------------------+
    | Navigation Menu   |
    +-------------------+
    |   Section         |
    |   (Article)       |
    +-------------------+
    |     Footer        |
    +-------------------+
    

    โš ๏ธ 10. Important Rules

    โœ” Tags are usually paired (<p></p>) โœ” Some tags are self-closing (<img>) โœ” Use proper nesting โœ” HTML is not case-sensitive โœ” Always include <!DOCTYPE html>


    ๐Ÿ”„ 11. Advantages of HTML5

    • Easy to learn
    • Supports multimedia
    • Mobile-friendly
    • No plugins required
    • Better SEO with semantic tags

    โŒ 12. Limitations

    • Cannot perform logic (needs JavaScript)
    • No database handling
    • Static by itself

    โ“ 13. Likely Exam Questions

    Short Questions

    1. Define HTML5.
    2. What are semantic tags?
    3. List new input types in HTML5.
    4. What is the use of <canvas>?
    5. Difference between <div> and <section>?

    Long Questions

    1. Explain HTML5 structure with example.
    2. Discuss new features of HTML5.
    3. Explain HTML forms with input types.
    4. Describe HTML5 page layout with diagram.
    5. Write a complete HTML5 webpage.

    ๐Ÿ“ 14. Summary / Quick Revision

    • HTML5 = Structure of web page

    • Uses tags & elements

    • New features:

      • Semantic tags
      • Audio/Video
      • Forms
      • Canvas
    • Works with CSS + JavaScript


    โ† Previous topic 1
    Web programming languages (HTML5, CSS3, JavaScript, PHP/JSP/ASP.Net)
    Next topic 3 โ†’
    CSS3

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    4mremaining
    651words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Web Engineering