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 PortalITEC3111Web Programming Langua…
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 1 of 24
    Topic Study Note Illustration
    01

    Web programming languages (HTML5, CSS3, JavaScript, PHP/JSP/ASP.Net)

    (HTML5, CSS3, JavaScript, PHP / JSP / ASP.NET)

    🌐 Web Programming Languages

    (HTML5, CSS3, JavaScript, PHP / JSP / ASP.NET)


    πŸ“Œ 1. Definition

    Web programming languages are languages used to create and manage websites and web applications. They are broadly divided into:

    • Client-side languages β†’ run in the browser
    • Server-side languages β†’ run on the web server

    πŸ“Š 2. Basic Architecture (Diagram Description)

    πŸ‘‰ Diagram idea for exam: Draw a flow like this:

    User (Browser)
         ↓ Request (HTTP)
    Web Server (PHP/JSP/ASP.NET)
         ↓ Response (HTML, CSS, JS)
    Browser displays webpage
    

    βœ” Shows interaction between client and server


    🧱 3. HTML5 (HyperText Markup Language)

    πŸ“Œ Definition

    HTML5 is the standard markup language used to structure web pages.

    ⭐ Key Concepts

    1. Basic Structure

    <!DOCTYPE html>
    <html>
    <head>
      <title>My Page</title>
    </head>
    <body>
      <h1>Hello World</h1>
    </body>
    </html>
    

    2. Important Tags

    • <h1> to <h6> β†’ headings
    • <p> β†’ paragraph
    • <a> β†’ hyperlink
    • <img> β†’ image
    • <form> β†’ user input

    3. New Features in HTML5

    • Semantic tags: <header>, <footer>, <article>
    • Multimedia: <audio>, <video>
    • Canvas: graphics drawing
    • Local storage

    βœ… Example

    <video controls>
      <source src="movie.mp4">
    </video>
    

    🎨 4. CSS3 (Cascading Style Sheets)

    πŸ“Œ Definition

    CSS3 is used to style and design web pages.

    ⭐ Key Concepts

    1. Syntax

    selector {
      property: value;
    }
    

    2. Types of CSS

    • Inline
    • Internal
    • External

    3. Important Properties

    • color, background
    • margin, padding
    • border
    • display

    4. New Features in CSS3

    • Flexbox
    • Grid layout
    • Animations
    • Media queries (Responsive design)

    βœ… Example

    body {
      background-color: lightblue;
    }
    

    πŸ“± Media Query Example

    @media (max-width: 600px) {
      body {
        background-color: yellow;
      }
    }
    

    βš™οΈ 5. JavaScript

    πŸ“Œ Definition

    JavaScript is a client-side scripting language used to make web pages interactive.

    ⭐ Key Concepts

    1. Variables

    let x = 10;
    

    2. Functions

    function greet() {
      alert("Hello!");
    }
    

    3. Events

    • onclick
    • onload
    • onchange

    4. DOM (Document Object Model)

    Used to manipulate HTML elements.

    document.getElementById("demo").innerHTML = "Hi";
    

    5. Features

    • Dynamic content
    • Form validation
    • Animation

    βœ… Example

    if (x > 5) {
      console.log("Greater");
    }
    

    πŸ–₯️ 6. Server-Side Languages


    🐘 6.1 PHP (Hypertext Preprocessor)

    πŸ“Œ Definition

    PHP is a server-side scripting language used to create dynamic web pages.

    ⭐ Features

    • Embedded in HTML
    • Works with databases (MySQL)
    • Open-source

    βœ… Example

    <?php
    echo "Hello World";
    ?>
    

    β˜• 6.2 JSP (Java Server Pages)

    πŸ“Œ Definition

    JSP is used to create dynamic content using Java.

    ⭐ Features

    • Platform-independent
    • Uses Java libraries

    βœ… Example

    <%
    out.println("Hello World");
    %>
    

    🧩 6.3 ASP.NET

    πŸ“Œ Definition

    ASP.NET is a framework by Microsoft for building web applications.

    ⭐ Features

    • Uses C# / VB.NET
    • High performance
    • Secure

    βœ… Example

    Response.Write("Hello World");
    

    πŸ”„ 7. Comparison (Important for Exams)

    Feature HTML5 CSS3 JavaScript PHP JSP ASP.NET
    Type Markup Style Script Server Server Server
    Runs on Browser Browser Browser Server Server Server
    Purpose Structure Design Interactivity Backend Backend Backend

    ⚠️ 8. Important Rules / Points

    βœ” HTML defines structure βœ” CSS defines presentation βœ” JavaScript defines behavior βœ” Server-side languages handle logic + database


    🧠 9. Quick Revision Flow

    HTML β†’ Structure
    CSS β†’ Style
    JavaScript β†’ Interaction
    PHP/JSP/ASP.NET β†’ Server Processing
    

    ❓ 10. Likely Exam Questions

    Short Questions

    1. Define HTML5 and list its new features.
    2. What is CSS3? Explain types of CSS.
    3. What is JavaScript? Give examples of events.
    4. Differentiate between client-side and server-side languages.
    5. What is PHP? Write a simple PHP script.

    Long Questions

    1. Explain the architecture of web applications with diagram.
    2. Compare HTML, CSS, JavaScript, and PHP.
    3. Explain DOM in JavaScript with examples.
    4. Discuss features of HTML5 and CSS3.
    5. Compare PHP, JSP, and ASP.NET.

    πŸ“ 11. Summary / Conclusion

    Web programming involves multiple languages working together:

    • HTML5 β†’ builds the structure
    • CSS3 β†’ enhances appearance
    • JavaScript β†’ adds interactivity
    • PHP/JSP/ASP.NET β†’ handle backend processing

    πŸ‘‰ Together, they form a complete web development system, enabling creation of modern, dynamic, and responsive websites.


    Next topic 2 β†’
    HTML5

    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
    688words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Web Engineering