Tribhuvan University
Institute of Science and Technology
Bachelor of Science in Computer Science and Information Technology
| Course Title: Web Technology | Full Marks: 60 + 20 + 20 |
| Course no: CSC318 | Pass Marks: 24 + 8 + 8 |
| Semester: V | Credit Hours: 3 |
| Nature of course: Theory + Lab | |
Course Description: This course covers the fundamental concepts of HTML, CSS, JavaScript, XML, and PHP.
Course Objective: The main objective of this course is to provide basic knowledge of web design using HTML and CSS, client side scripting using JavaScript, handling web data using XML and server side scripting using PHP.
Course Contents
Unit 1. Introduction (3 Hrs.)
Web Basics: Internet, Intranet, WWW, Static and Dynamic Web Page; Web Clients; Web Servers; Client Server Architecture: Single Tier, Two-Tier, Multi-Tier; HTTP: HTTP Request and Response; URL, Client Side Scripting, Server Side Scripting, Web 1.0, Web 2.0
Unit 2. Hyper Text Markup Language (10 Hrs.)
Introduction to HTML; Elements of HTML Document; HTML Elements and HTML Attributes, Headings, Paragraph, Division, Formatting: b, i, small, sup, sub; Spacing: Pre, Br; Formatting Text Phrases: span, strong, tt; Image Element; Anchors; Lists: Ordered, Unordered and Definition; Tables; Frames; Forms: Form Elements, ID Attributes, Class Attributes of HTML Elements; Meta Tag, Audio, Video, Canvas, Main, Section, Article, Header, Footer, Aside, Nav, Figure Tags; HTML Events: Window Events, Form Element Events, Keyboard Events, Mouse Events
Unit 3. Cascading Style Sheets (8 Hrs.)
Introduction; Cascading Style Sheets (CSS); CSS Syntax; Inserting CSS: Inline, Internal, External, ID and Class Selectors; Colors; Backgrounds; Borders; Text; Font; List; Table; CSS Box Model; Normal Flow Box Layout: Basic Box Layout, Display Property, Padding, Margin; Positioning: Relative, Float, Absolute; CSS3 Borders, Box Shadows, Text Effects and Shadow; Basics of Responsive Web Design; Media Queries, Introduction to Bootstrap
Unit 4. Client Side Scripting with JavaScript (9 Hrs.)
Structure of JavaScript Program; Variables and Data Types; Statements: Expression, Keyword, Block; Operators; Flow Controls, Looping, Functions; Popup Boxes: Alert, Confirm, Prompt; Objects and Properties; Constructors; Arrays; Built-in Objects: Window, String, Number, Boolean, Date, Math, RegExp, Form, DOM; User Defined Objects; Event Handling and Form Validation, Error Handling, Handling Cookies, jQuery Syntax; jQuery Selectors, Events and Effects; Introduction to JSON
Unit 5. AJAX and XML (7 Hrs.)
Basics of AJAX; Introduction to XML and its Application; Syntax Rules for creating XML Document; XML Elements; XML Attributes; XML Tree; XML Namespace; XML Schema Languages: Document Type Definition (DTD), XML Schema Definition (XSD); XSD Simple Types, XSD Attributes; XSD Complex Types; XML Style Sheets (XSLT), XQuery
Unit 6. Server Side Scripting using PHP (8 Hrs.)
PHP Syntax, Variables, Data Types, Strings, Constants, Operators, Control Structures, Functions, Arrays, Creating Classes and Objects, PHP Forms, Accessing Form Elements, Form Validation, Events, Cookies, and Sessions, Working with PHP and MySQL, Connecting to Database, Creating, Selecting, Deleting, Updating Records in a Table, Inserting Multiple Data, Introduction to CodeIgniter, Laravel, WordPress, etc.
Text Books
- Jon Duckett, “Web Design with HTML, CSS, JavaScript and jQuery Set”, John Wiley & Sons
- Jeffrey C. Jackson, “Web Technologies: A Computer Science Perspective”, Pearson Prentice Hall
- Robin Nixon, “Learning PHP, MySQL & JavaScript: with jQuery, CSS & HTML5”, O’Reilly
- Jon Duckett, “PHP & MySQL: Server-side Web Development”, Wiley
Reference Books
- Estelle Weyl, Louis Lazaris, Alexis Goldstein, “HTML5 and CSS3 for the Real World”, SitePoint
- Jon Duckett, “HTML & CSS: Design and Build Websites”, John Wiley & Sons
- Paul S. Wang, “Dynamic Web Programming and HTML5”, CRC Press
- John Paul Mueller, “HTML5 Programming with JavaScript for Dummies”
- Jon Duckett, “JavaScript and jQuery: Interactive Front-end Web Development”, Wiley
- Thomas A. Powell, “The Complete Reference: HTML and CSS”, McGraw Hill
- Don Gosselin, “JavaScript: The Web Technologies Series”, Course Technology, Cengage Learning
- “Web Technologies: HTML, JavaScript, PHP, Java, JSP, ASP.NET, XML and AJAX, Black Book”, Dreamtech Press
- Anders Møller and Michael I. Schwartzbach, “An Introduction to XML and Web Technologies”, Addison-Wesley
- Luke Welling, “PHP and MySQL Web Development”, Addison-Wesley
- www.w3schools.com