SlideShare a Scribd company logo
MSTCCU'16 - Aspiration Webbers - Session 2 - HTML&CSS
HTML & CSS
• Revision
• HTML
• UI VS UE
Agenda
• Introduction to CSS
• Let’s Try
• CSS Syntax
Revision
Revision
• ASP ?
 Web Application.
 Dynamic pages.
• Web application ?
 Web Development VS Web Design?.
 Web Development Or Web Design?.
 Why web application?.
• Static page Vs. Dynamic page
• Introduction to HTML
 HTML VS. CSS.
 HTML Syntax.
 Important Tags
HTML
user input:<Form> tag
user input:<Form> tag
 <form action=‘’ method=‘’></form>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form action=‘’ method=‘’>
UserName:<input type="text"
name="fName“/>
password: <input type="password"
name="pass"/>
<input type="submit" value="Login"/>
</form>
</body>
</html>
• The Action Attribute :
- The action attribute defines the action to be performed when the form is submitted.
- i.e. <form action=“nextPage.html">
user input:<Form> tag
• The Method Attribute:
-The method attribute specifies the HTTP method (GET or POST) to be used when
submitting the forms.
- i.e. <form action=“nextPage.html" method="get">
OR
<form action=“nextPage.html" method=“post">
Input Types
type="checkbox"
type="radio"
type=“date"
type=“text"
type=“password"
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<a href=“http://www.bing.com">
visit address</a>
</body>
</html>
Hyperlink: <a>tag
 <a href=“http://www.bing.com">Visit address</a>
Hyperlink: <a>tag
Hyperlink: <a>tag
• Absolute URL
- i.e. <a href=“http://www.bing.com"> visit address</a>
• Relative URL (Local Link)
- (without http://www....).
- i.e. <a href=“nextpage.html"> visit address</a>
<a href="url">link text</a>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<img src="E:duck.jpg"
width="300“ height="300"/>
</body>
</html>
Images:<img> tag
 <img src="" width=“300“ height=“300“/>
UI Vs. UX
MSTCCU'16 - Aspiration Webbers - Session 2 - HTML&CSS
How to improve the user
interface ?
Good design
Logical Flow
Good flowBad flow
Simple
MSTCCU'16 - Aspiration Webbers - Session 2 - HTML&CSS
What is CSS?
ascading tyle heets
HTML
CSS
Why CSS ?
Where to …… ?
• Inline:
- i.e. <p style=“color :red;”>………<p>
• Internal:
- i.e. <style>
p{
color :red ;
}
</style>
• External:
- i.e. <link rel="stylesheet" type="text/css" href="style.css">
- style.css
CSS Syntax
CSS Rule
• Selector { property: value; }
declaration
• P{ color: red ; text-align: center; font-size:50px }
selector
property
value
declaration
declaration
Selector
• Element :
- i.e. p { ……… }
- i.e. p,h1,h2{ ……… }
• Element ID :
- i.e. #id{……………}
• class :
- i.e. .class {……………}
- i.e. p.class {……………}
LET’s Try !
MSTCCU'16 - Aspiration Webbers - Session 2 - HTML&CSS
Any Questions ?
/moataz.hesham.5
Contact Me:
moatazhesham2014@hotmail.com

More Related Content

PPTX
Angular js
PPTX
Training Html5 -CSS3 New things
PPTX
Lecture8 web design and development
PPTX
Html5 Canvas Detail
PPTX
Builders and Developers Session one MSTC`15
PPTX
MSTCCU'16 - Aspiration Webbers - Session 1 - Introduction To ASP.net
PPTX
FormL13.pptx
PPTX
Web forms - Learn web development (1).pptx
Angular js
Training Html5 -CSS3 New things
Lecture8 web design and development
Html5 Canvas Detail
Builders and Developers Session one MSTC`15
MSTCCU'16 - Aspiration Webbers - Session 1 - Introduction To ASP.net
FormL13.pptx
Web forms - Learn web development (1).pptx

Similar to MSTCCU'16 - Aspiration Webbers - Session 2 - HTML&CSS (20)

PPT
331592291-HTML-and-Cascading style sheet
PPTX
Web topic 20 1 html forms
PPTX
Web topic 20 2 html forms
PPT
PDF
03 the htm_lforms
PPTX
Html forms
PDF
Web designing
PDF
WEB DESIGNING.pdf
PPT
Forms,Frames.ppt
PPT
Forms,Frames.ppt
PPTX
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
PDF
Web I - 04 - Forms
PPTX
Html form tag
PPTX
INTRODUCTION TO HTML & CSS .pptx
PDF
CSS_Forms.pdf
PPTX
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer
PPT
Web forms and html (lect 4)
KEY
Creating forms
PPTX
331592291-HTML-and-Cascading style sheet
Web topic 20 1 html forms
Web topic 20 2 html forms
03 the htm_lforms
Html forms
Web designing
WEB DESIGNING.pdf
Forms,Frames.ppt
Forms,Frames.ppt
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Web I - 04 - Forms
Html form tag
INTRODUCTION TO HTML & CSS .pptx
CSS_Forms.pdf
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer
Web forms and html (lect 4)
Creating forms
Ad

Recently uploaded (20)

PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
1_English_Language_Set_2.pdf probationary
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Hazard Identification & Risk Assessment .pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
Introduction to Building Materials
PPTX
Computer Architecture Input Output Memory.pptx
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
IGGE1 Understanding the Self1234567891011
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
Computing-Curriculum for Schools in Ghana
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
1_English_Language_Set_2.pdf probationary
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Hazard Identification & Risk Assessment .pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Introduction to Building Materials
Computer Architecture Input Output Memory.pptx
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Unit 4 Computer Architecture Multicore Processor.pptx
IGGE1 Understanding the Self1234567891011
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
LDMMIA Reiki Yoga Finals Review Spring Summer
FORM 1 BIOLOGY MIND MAPS and their schemes
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
Computing-Curriculum for Schools in Ghana
Ad

MSTCCU'16 - Aspiration Webbers - Session 2 - HTML&CSS