CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
1
CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
2
CWD116 : Photography and Web Programming Lecture Notes 2
These are typically used together with a Database System, such as MySQL, SQL Server, etc.
Copyright @ Eugene Tebo December 2024
3
CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
4
CWD116 : Photography and Web Programming Lecture Notes 2
HTML Editors
Professional HTML editors:
• Adobe Dreamweaver
• CoffeeCup HTML Editor (These are WYSIWYG Editors where you can see the resulting
Web page instantly)
• ...
For the simple examples you may only need Notepad (Windows)
Another Editor is Visual Studio Code
Copyright @ Eugene Tebo December 2024
5
CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
6
CWD116 : Photography and Web Programming Lecture Notes 2
Why CSS is needed
• HTML was never intended to contain tags for formatting a document.
• HTML was intended to define the content of a document, like:
• <h1>This is a heading</h1>
• <p>This is a paragraph.</p>
• When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare
for web developers.
Development of large web sites, where fonts and color information were added to every single page, became a
long and expensive process.
• To solve this problem, the World Wide Web Consortium (W3C) created CSS.
• In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file.
• All browsers support CSS today.
Copyright @ Eugene Tebo December 2024
7
CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
8
CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
9
CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
10
CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
11
CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
12
CWD116 : Photography and Web Programming Lecture Notes 2
Copyright @ Eugene Tebo December 2024
13