Web Dev 1
Web Dev 1
Web Development
Overview
1. House Rules
2. Agenda
3. List down your goals to finish
the course
4. Introduction to Web
Development
House Rules
Be On Time. Avoiding eating during the online
Sign in at least 5 session.
minutes before the
class.
Source: http://info.cern.ch/hypertext/WWW/TheProject.html
INTERNET VS WEB
INTERNET WEB
WEB PUBLISHING
DATABASE MANAGEMENT WEB DEVELOPMENT STACK
Stack is set of tools typically used in
WEB PROGRAMMING tandem to develop web apps.
WEB DESIGNING
What is Web Development
BITE
CHEW
SWALLOW
DIGEST
How To Become a Front-end Developer?
Front-end Development
1. Always try to understand why the code is being written and understand the
purpose of the code.
2. Focus in learning programming not how fast you type.
3. Jot down notes and save important and useful links.
4. Watch the recorded video if you missed any lessons.
5. Review lessons which you find too difficult to understand.
6. Practice “daily coding”.
Stuck?
1. Evaluate expectation vs
output
2. Check for typo or symbols.
3. Check your code against the
given code or code
examples.
4. Learn from your mistakes.
5. We will try to help you.
What to do when you’re stuck?
Soft skills
Communication skills
Cleary state and communicate
what you have in mind.
Adaptability
Keep up with the latest news.
Problem Solving
Solving problem and making it all
work should be your mindset.
Interpersonal Skills
interacting and communicating with others to help start, build, and sustain
relationships.
Introduction to HTML and CSS
Introduction to HTML and CSS
HTML builds web page structure CSS enhances the look and style
Basic Structure of an HTML Document
s
<!DOCTYPE html>
<html>
<head>
<title> My First HTML Page</title>
</head>
<body>
Welcome to My First HTML page!
</body>
</html>
HTML
Content
Examples
Elements usually have opening ● Body
and closing tags that surround and ● Head
give meaning to the content. ● Title
● Meta
Kinds of Tags
Examples
Container Tags Empty Tags
● Body
always wrap around text or do●notHead
have to be wrapped
graphics and comes in a set around text and do not
● Title
with an opening and closing require
● Metaa closing tag; stand
tag. alone
<title> My First Webpage </title> <meta>
Tag Name Description
<h1> </h1> A section heading level 1. Headings are up to <h6></h6>
<!--- --> Insert comment in the source code. A short description of code.
Not displayed in the browser
Try to add horizontal line to the title of you poem / lyrics
<hr >
Anatomy of an HTML tag
<hr size=”3”>
self-closing tag
HTML Element
HTML ATTRIBUTE
Anatomy of an HTML tag
Exercise:
3. Center it.
Anatomy of an HTML tag
Which is better text editor or IDE?
Note:
Install and open the Visual Studio Code app
then follow the instructions
Basic HTML
If you see a dot on the tab bar of your file, that means that there's unsaved progress.
Exercise 1 : Create your first HTML
<!DOCTYPE html>
Note:
For this activity use Notepad app (for windows)
TextEdit (for Mac)
Basic Structure of an HTML Document
In Notepad type;
<!DOCTYPE html>
<html>
</html>
Basic Structure of an HTML Document
<!DOCTYPE html>
<html>
<head>
</head>
</html>
Basic Structure of an HTML Document
<!DOCTYPE html>
<html>
<head>
<title> My First HTML Page</title>
</head>
</html>
Basic Structure of an HTML Document
<!DOCTYPE html>
<html>
<head>
<title> My First HTML Page</title>
<meta charset="UTF-8">
</head>
</html>
Basic Structure of an HTML Document
<!DOCTYPE html>
<html>
<head>
<title> My First HTML Page</title>
<meta charset="UTF-8">
</head>
<body>
</body>
</html>
Basic Structure of an HTML Document
<!DOCTYPE html>
<html>
<head>
<title> My First HTML Page</title>
<meta charset="UTF-8">
</head>
<body>
Welcome to My First HTML page!
</body>
</html>
Exercise 1 : Create your first HTML
</body>
</html>
HTML Tags and Attributes
<body>
<img src="images/girl.png" alt="cartoon" style="width:128px;height:128px;"> <br>
<img src="dog.png" alt="picture"> <br>
<img src="girl.png" alt="cartoon" style="width:128px;height:128px;"> <br>
<img src="face.jpeg" alt="picture" width="100" height="100"> <br>
<img
src="https://www.interactivesearchmarketing.com/wp-content/uploads/2014/06/
png-vs-jpeg.jpg" alt="flower">
</body>
</html>
HTML Tags and Attributes
<body>
<img src="images/girl.png" alt="cartoon" style="width:128px;height:128px;"> <br>
<img src="dog.png" alt="picture"> <br>
<img src="girl.png" alt="cartoon" style="width:128px;height:128px;"> <br>
<img src="face.jpeg" alt="picture" width="100" height="100"> <br>
<img
src="https://www.interactivesearchmarketing.com/wp-content/uploads/2014/06/
png-vs-jpeg.jpg" alt="flower">
</body>
</html>
HTML Tags and Attributes
<!DOCTYPE html>
<html>
<head>
<title>My First HTML Page</title>
<meta charset="UTF-8">
</head>
<body>
</body>
</html>
Output
Output
Technical Skills
1. Introduction to Web Development
2. Introduction to Web Stacks
3. HTML Tags
4. HTML Attributes
Thank you!