SlideShare uma empresa Scribd logo
1 de 125
Agenda
1- Warm up revision about HTML 10 min
2- ppt teacher demonstrate about CSS 15m
3- Video about CSS Selectors 5min
4- Practical work Students divided in pairs and use
notepad or Atom , explorer to create very simple web
page using CSS30m
7- Questions and answers as pretest about CSS 5 min
8-Refelection 5 min
9- Home work 5 min
CSS
LO CS.1.06 - Identify
and explain the
addition of a style to
web site by using
cascading style sheets
(CSS).
Lesson plan
CSS
Warm Up
Listen to this video
Offline
On line
CSS
Essential Question
How can we add a
style (inline, internal
and external) to a
web site? ?
• Using on line resources for
html5 code , CSS code , etc
…
• Ex : w3school , sololearn
5
CSS
HTML template
<!DOCTYPE html>
<html lang="en">
<head>
<title>STEM Education</title>
<meta charset="utf-8">
</head>
<body> hdgjadhgakf</body>
</html>
CSS
Favorite Sites
<!DOCTYPE html>
<html lang="en">
<head>
<title> </title>
<meta charset="UTF-8">
<style> </style> // for header and article and img
<script> </script>
</head>
<body>
<h1> content: header, article for each site </h1>
</body>
</html>
CSS
Warm Up
Listen to this video
Offline
On line
CSS
Practical work Students
divided in groups and use
notepad , , online resources
to create very simple
portfolio or school web
page 30 min
CSS
Check your email to Solve the
Online auto answered
quiz 15 min after
school the quiz will be
closed in 10:00pm
after
tomorrow
CSS
Warm up revision
11
1.HTML Forms).
2. Multimedia (sound,
music, videos, movies, and
animations)
3 . Make validation.
CSS
12
CSS
13
CSS
14
Core Attributes
Id
Title
Class
Style
<p id="html">This para explains what is HTML</p>
<p id="css">This para explains what is Cascading Style Sheet</p>
<p style="font-family:arial; color:#FF0000;">Some text...</p>
<h3 title="Hello HTML!">Titled Heading Tag Example</h3>
CSS
15
The class Attribute
The class attribute is used to associate an
element with a style sheet, and specifies the
class of element. You will learn more about the
use of the class attribute when you will learn
Cascading Style Sheet (CSS). So for now you
can avoid it.
The value of the attribute may also be a space-
separated list of class names. For example:
class="className1 className2 className3"
CSS
16
CSS
17
CSS
18
CSS
19
Page Redirection
You can use <meta> tag to redirect your
page to any other webpage. You can also
specify a duration if you want to redirect
the page after a certain number of
seconds.
Example
Following is an example of redirecting
current page to another page after 5
seconds. If you want to redirect page
immediately then do not specify content
attribute.
Web addressCSS
20
<head>
<title>Meta Tags Example</title>
<meta name="keywords"
content="HTML, Meta Tags, Metadata" />
<meta name="description"
content="Learning about Meta Tags." />
<meta http-equiv="refresh" content="5;
url=http://www.tutorialspoint.com" />
</head>
Web address
CSS
21
<head>
<title>Meta Tags Example</title>
<meta name="keywords"
content="HTML, Meta Tags, Metadata" />
<meta name="description"
content="Learning about Meta Tags." />
<meta http-equiv="refresh" content="5;
url=http://www.tutorialspoint.com" />
</head>
Web address
CSS
22
CSS
23
<head>
<title>Meta Tags Example</title>
<meta name="keywords"
content="HTML, Meta Tags, Metadata" />
<meta name="description"
content="Learning about Meta Tags." />
<meta http-equiv="refresh" content="5;
url=http://www.tutorialspoint.com" />
</head>
Web address
CSS
The code
24
CSS
25
CSS
Open your previous web page
26
CSS
Question ??
How to create a form
inside a web page
27
CSS
The code for form
28
CSS
To send the form to e.mail
instead of database
29
<form action="/action_page.php" method="get">
<form action="/action_page.php" method="post">
<form action ="mailto:you@yourwebsite.com">
<form action="mailto:you@yourwebsite.com">
CSS
Differences Between Get and
Post - Web Development
30
Differences Between Get
and Post - Web
Development
Listen to this video
Offline
On line
CSS
Validation : tray it on line such
as in w3schools
32
CSS
Form validation in
html5 without using
Java Script
Listen to this video
Offline
On line
CSS
Summary video
Listen to this video
Offline
On line
CSS
35
Learn and practice through on line web sites
https://www.thewebevolved.com
https://www.123test.com/
https://www.wscubetech.com/
https://www.w3schools.com/php/php_quiz.asp
https://www.guru99.com
https://codescracker.com/exam/review.php
https://www.arealme.com/left-right-brain/en/
https://www.javatpoint.com/c-quiz
https://www.proprofs.com/
https://www.geeksforgeeks.org/
https://www.tutorialspoint.com
https://www.sololearn.com/Course/HTML
http://www.littlewebhut.com/
CSS
AUDIO
36
CSS
VIDEO
37
AUTOPLAY LOOP
CSS
The code for Audio and Video
38
CSS
What we learn today
1.CSS term. 2. Style
attribute / Style element.
3. Inline styles / Multiple
styles. 4. CSS syntax
(Selector - Rules).
39
CSS
• CSS Introduction
• What is CSS?
• CSS stands for Cascading Style Sheets
• CSS describes how HTML elements are
to be displayed on screen, paper, or in
other media
• CSS saves a lot of work. It can control
the layout of multiple web pages all at
once
• External stylesheets are stored in CSS
files 40
CSS
CSS Syntax
CSS is composed of style rules that the
browser interprets and then applies to the
corresponding elements in your document.
A style rule has three parts: selector, property,
and value.
For example, the headline color can be defined
as:
h1 { color: orange; }
CSS Selectors - Tag, ID,
Class, Attribute
Listen to this video
Offline On line
Offline On line
CSS
Styles' locations
Inline --- inside any tag in Body
Internal styles --- inside style tag in Head
External --- CSS file inside link tag in Head
43
CSS
Style sheet or style element — not both!
Inline CSS
44
CSS
<p style="color:white;
background-color:gray;">
This is an example of inline
styling.
</p>
internal styles : are defined within
the <style> element, inside
the head section of an HTML page.
<head>
<style>
p {
color:white;
background-color:gray;
}
</style>
</head> 45
CSS
<head>
<link rel="stylesheet"
href="example.css">
</head>
46
CSSExternal CSS
With this method, all styling rules are contained in
a single text file, which is saved with
the .css extension
Attaching a CSS file <link>
• A page can link to multiple style sheet files
– In case of a conflict (two sheets define a style for the same
HTML element), the latter sheet's properties will be used
47
<head>
...
<link href="filename" type="text/css" rel="stylesheet" />
...
</head> HTML
<link href="style.css" type="text/css" rel="stylesheet" />
<link href="http://www.google.com/uds/css/gsearch.css"
rel="stylesheet" type="text/css" />
HTML
CS380
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
Style Sheet Languages
• Cascading Style Sheets (CSS)
– Applies to (X)HTML as well as XML
documents in general
– Focus of this chapter
• Extensible Stylesheet Language (XSL)
– Often used to transform one XML document
to another form, but can also add style
– XSL Transformations covered in later chapter
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
• A styled HTML document
produced by the style sheet style1.css:
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
link element associates style sheet with doc.
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
type attribute specifies style language used
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
href attribute provides style sheet URL
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
title attribute provides style sheet name
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
Alternative, user selectable style sheets
can be specified
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
• A styled HTML document
produced by the style sheet style2.css:
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
Note that alternate, user selectable style is
not widely supported: firefox 3 and IE 8 do,
but IE 6, IE 7 and Chrome don’t.
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Introduction
• Single document can be displayed on
multiple media platforms by tailoring style
sheets:
This document will be printed differently
than it is displayed.
Be Efficient
59
Time consuming
- Inline styling
- Embedded (internal) style sheets
Quicker and easier
- External style sheets
Types of selectors
60
CSS
Each element / selector has the
following:
61
CSS
62
Types of selectors
Listen to this video
Offline On line
Offline On line
CSS
Types of selectors
64
CSS
1- Element selector
Types of selectors
65
CSS
2- class selector Multiple elements
66
CSS
67
CSS
Types of selectors
68
CSS
2- id selector limited to one element
Types of selectors
69
CSS
2- id selector limited to one element
Types of selectors
70
CSS
Selector may be a
combination like :
Grouping styles
71
p, h1, h2 {
color: green;
}
h2 {
background-color: yellow;
} CSS
This paragraph uses the above style.
output
This h2 uses the above styles.
• A style can select multiple elements separated by
commas
• The individual elements can also have their own styles
CS380
CSS comments /*…*/
72
/* This is a comment.
It can span many lines in the CSS file. */
p {
color: red; background-color: aqua;
} CSS
• CSS (like HTML) is usually not commented as
rigorously as programming languages such as Java
• The // single-line comment style is NOT supported in
CSS
• The <!-- ... --> HTML comment style is also NOT
supported in CSS
CS380
• The HTML:<p class="first">
Border width of this paragraph is set to 2px.
</p>
<p class="second">
Border width of this paragraph is set to 5px.
</p>
The CSS:
• p.first {
padding: 10px;
border-style: solid;
border-width: 2px;
}
p.second {
padding: 10px;
border-style: solid;
border-width: 5px;
}Try It Yourself 73
Cascading Style Sheets
• Properties of an element cascade together
in this order:
– browser's default styles
– external style sheet files (in a <link> tag)
– internal style sheets (inside a <style> tag in
the page's header)
– inline style (the style attribute of the HTML
element)
CS380 74
75
How CSS Works — Matching
• Every XHTML document represents a document
tree
• The browser uses the tree to determine which rules
apply
• What about inheritance? And conflicts?
76
Inheriting styles
77
body { font-family: sans-serif; background-color: yellow;
}
p { color: red; background-color: aqua; }
a { text-decoration: underline; }
h2 { font-weight: bold; text-align: center; }
CSS
This is a heading
• A bulleted list output
• when multiple styles apply to an element, they are
inherited
• a more tightly matching rule can override a more
general inherited rule
A styled paragraph. Previous slides are available on the website.
CS380
Styles that conflict
78
p, h1, h2 { color: blue; font-style: italic; }
h2 { color: red; background-color: yellow; }
CSS
This paragraph uses the first style above.
output
• when two styles set conflicting values for the same
property, the latter style takes precedence
This heading uses both styles above.
CS380
CSS Syntax
Listen to this video
Offline On line
Offline On line
CSS
CSS Syntax
CSS is composed of style rules that the
browser interprets and then applies to the
corresponding elements in your document.
A style rule has three parts: selector, property,
and value.
For example, the headline color can be defined
as:
h1 { color: orange; }
CSS Syntax
81
CSS
82
CSS
83
CSS
84
CSS
Basic CSS rule syntax
• A CSS file consists of one or more rules
• Each rule starts with a selector
• A selector specifies an HTML element(s) and then
applies style properties to them
– a selector of * selects all elements
85
selector {
property: value;
property: value;
...
property: value;
} CSS
p {
font-family: sans-serif;
color: red;
} CSS
Each element / selector has the
following:
86
CSS
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax
• Parts of a style rule (or statement)
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax:
Selector Strings
• Single element type:
• Multiple element types:
• All element types:
• Specific elements by id:
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax:
Selector Strings
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax:
Selector Strings
• Elements belonging to a style class:
– Referencing a style class in HTML:
• Elements of a certain type and class:
class selector: begins with a period .
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax:
Selector Strings
• Elements belonging to a style class:
– Referencing a style class in HTML:
• Elements of a certain type and class:
this span belongs to three style classes
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax:
Selector Strings
• Elements belonging to a style class:
– Referencing a style class in HTML:
• Elements of a certain type and class:
this rule applies only to span’s belonging to class special
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax:
Selector Strings
• Source anchor elements:
• Element types that are descendents:pseudo-classes
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax:
Selector Strings
• Source anchor elements:
• Element types that are descendants:
rule applies to li element that is
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax:
Selector Strings
• Source anchor elements:
• Element types that are descendants:
rule applies to li element that is
part of the content of an ol element
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax:
Selector Strings
• Source anchor elements:
• Element types that are descendants:
rule applies to li element that is
part of the content of an ol element
that is part of the content of a ul element
Guy-Vincent Jourdan :: CSI 3140
:: based on Jeffrey C. Jackson’s
CSS Syntax
• Style rules covered thus far follow ruleset
syntax
• At-rule is a second type of rule
– Reads style rules from specified URL
– Must appear at beginning of style sheet
URL relative to style sheet URL
CSS Selectors - Tag, ID,
Class, Attribute
Listen to this video
Offline On line
Offline On line
CSS
99
CSS
100
CSS
101
CSS
CSS properties for fonts
property description
font-family which font will be used
font-size how large the letters will be drawn
font-style used to enable/disable italic style
font-weight used to enable/disable bold style
CS380 102
Complete list of font properties (http://www.w3schools.com/css/css_reference.asp#fo
CSS properties for text
property description
text-align alignment of text within its element
text-decoration decorations such as underlining
line-height,
word-spacing,
letter-spacing
gaps between the various portions of
the text
text-indent
indents the first letter of each
paragraph
CS380 103
Complete list of text properties (http://www.w3schools.com/css/css_reference.asp#te
CSS properties for text
property description
text-align alignment of text within its element
text-decoration decorations such as underlining
line-height,
word-spacing,
letter-spacing
gaps between the various portions of
the text
text-indent
indents the first letter of each
paragraph
CS380 104
Complete list of text properties (http://www.w3schools.com/css/css_reference.asp#te
Boxes (Content – Padding
– Border - Margin)
Listen to this video
Offline On line
Offline On line
CSS
Boxes (Content – Padding – Border - Margin)
106
Boxes (Content – Padding – Border - Margin)
107
Boxes (Content – Padding – Border - Margin)
108
Boxes (Content – Padding
– Border - Margin)
Listen to this video
Offline On line
Offline On line
CSS
Boxes (Content – Padding – Border - Margin)
110
CSS
111
CSS
Boxes (Content – Padding – Border - Margin)
• The HTML:<p class="first">
Border width of this paragraph is set to 2px.
</p>
<p class="second">
Border width of this paragraph is set to 5px.
</p>
The CSS:
• p.first {
padding: 10px;
border-style: solid;
border-width: 2px;
}
p.second {
padding: 10px;
border-style: solid;
border-width: 5px;
}Try It Yourself 112
2. Change the layout of a web
page.
113
CSS
3. Access Developer Tools in
your browser.
114
CSS
6. Linking stylesheets.
115
CSS
7. CSS property for setting an
element.
116
CSS
117
Learn and practice through on line web sites
http://www.w3schools.com/tags/tag_div.asp
http://www.quackit.com/html_5/tags/html_div_tag.cfm
https://www.sololearn.com/Course/HTML/
https://www.freecodecamp.org
CSS
Sumarry
118
1.CSS term. 2. Style
attribute / Style element.
3. Inline styles / Multiple
styles. 4. CSS syntax
(Selector - Rules).
CSS
Prepare for next week
according to student’s law
Gn=Wn % Ng
5. Selectors (Type - Class
and ID). 6. External CCS file.
7. Boxes (Content –
Padding – Border - Margin).119
CSS
Reflection
• What is your goal to accomplish in
next week End Using HTML and CSS?
CSS
Home work (s. proj.) 1
create individually a very simple
web page about one of your hopes
or favorites you should include 5
sentences ,1 picture , 1 video , 1
audio , 1 link , forum and 1 CSS in
an index.htm and include it and the
picture in folder named with your
name and class .
Note your project will be evaluated
for semester garding
121
CSS
Home work (s. proj.) 2
search and find away to
communicate what you achieved
from your home work 1 such as to
upload the pages you designed to
google site .
122
CSS
Resources
• https://www.youtube.com/watch?v=Rtww83GH
0BU
• Other materials:
https://www.sololearn.com/Course/CSS/
https://www.w3schools.com/css/default.asp
http://www.quackit.com/html_5/tags/html_div_ta
g.cfm
https://www.sololearn.com/Course/css/
123
CSS
Thanks
Engineer and educator/ Osama G. Geris
CSS
https://twitter.com/osamageris
https://www.linkedin.com/in/osamaghandour/
https://www.youtube.com/user/osmgg2
https://www.facebook.com/osama.g.geris
CSS

Mais conteúdo relacionado

Mais procurados

Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892Deepak Sharma
 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreRuss Weakley
 
Scalable and Modular CSS FTW!
Scalable and Modular CSS FTW!Scalable and Modular CSS FTW!
Scalable and Modular CSS FTW!FITC
 
Object oriented css graeme blackwood
Object oriented css graeme blackwoodObject oriented css graeme blackwood
Object oriented css graeme blackwooddrupalconf
 
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStartIntro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStartScott DeLoach
 
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSSObject-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSSLi-Wei Lu
 
Internet tech &amp; web prog. p4,5
Internet tech &amp; web prog.  p4,5Internet tech &amp; web prog.  p4,5
Internet tech &amp; web prog. p4,5Taymoor Nazmy
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3Doris Chen
 
Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3John Bertucci
 

Mais procurados (20)

Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
 
SMACSS Workshop
SMACSS WorkshopSMACSS Workshop
SMACSS Workshop
 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and more
 
Scalable and Modular CSS FTW!
Scalable and Modular CSS FTW!Scalable and Modular CSS FTW!
Scalable and Modular CSS FTW!
 
Css
CssCss
Css
 
Object oriented css graeme blackwood
Object oriented css graeme blackwoodObject oriented css graeme blackwood
Object oriented css graeme blackwood
 
Css
CssCss
Css
 
Css 3
Css 3Css 3
Css 3
 
Css 3
Css 3Css 3
Css 3
 
CSS Introduction
CSS IntroductionCSS Introduction
CSS Introduction
 
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStartIntro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
 
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSSObject-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
 
HTML News Packages Lesson
HTML News Packages LessonHTML News Packages Lesson
HTML News Packages Lesson
 
Internet tech &amp; web prog. p4,5
Internet tech &amp; web prog.  p4,5Internet tech &amp; web prog.  p4,5
Internet tech &amp; web prog. p4,5
 
Jquery News Packages
Jquery News PackagesJquery News Packages
Jquery News Packages
 
CSS Reset
CSS ResetCSS Reset
CSS Reset
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
 
Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3
 
Css.html
Css.htmlCss.html
Css.html
 

Semelhante a Css week10 2019 2020 for g10 by eng.osama ghandour

Cascading Styling Sheets(CSS) simple design language intended to transform th...
Cascading Styling Sheets(CSS) simple design language intended to transform th...Cascading Styling Sheets(CSS) simple design language intended to transform th...
Cascading Styling Sheets(CSS) simple design language intended to transform th...JebaRaj26
 
Shyam sunder Rajasthan Computer
Shyam sunder Rajasthan ComputerShyam sunder Rajasthan Computer
Shyam sunder Rajasthan Computershyamverma305
 
howcssworks-100207024009-phpapp01.pptx
howcssworks-100207024009-phpapp01.pptxhowcssworks-100207024009-phpapp01.pptx
howcssworks-100207024009-phpapp01.pptxRavneetSingh343801
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSStructuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSSanjoy Kr. Paul
 
cascading style sheet(css).pptx
cascading style sheet(css).pptxcascading style sheet(css).pptx
cascading style sheet(css).pptxSuhaibKhan62
 
Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1Gheyath M. Othman
 
BITM3730Week4.pptx
BITM3730Week4.pptxBITM3730Week4.pptx
BITM3730Week4.pptxMattMarino13
 
Introduction to CSS in HTML.ppt
Introduction to CSS in HTML.pptIntroduction to CSS in HTML.ppt
Introduction to CSS in HTML.pptparveen837153
 
Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)Harshita Yadav
 
Web topic 15 1 basic css layout
Web topic 15 1  basic css layoutWeb topic 15 1  basic css layout
Web topic 15 1 basic css layoutCK Yang
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation Salman Memon
 
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptxINFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptxfeles73967
 
HTML and CSS Coding Standards
HTML and CSS Coding StandardsHTML and CSS Coding Standards
HTML and CSS Coding StandardsSaajan Maharjan
 

Semelhante a Css week10 2019 2020 for g10 by eng.osama ghandour (20)

6 css week12 2020 2021 for g10
6 css week12 2020 2021 for g106 css week12 2020 2021 for g10
6 css week12 2020 2021 for g10
 
Cascading Styling Sheets(CSS) simple design language intended to transform th...
Cascading Styling Sheets(CSS) simple design language intended to transform th...Cascading Styling Sheets(CSS) simple design language intended to transform th...
Cascading Styling Sheets(CSS) simple design language intended to transform th...
 
Shyam sunder Rajasthan Computer
Shyam sunder Rajasthan ComputerShyam sunder Rajasthan Computer
Shyam sunder Rajasthan Computer
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
howcssworks-100207024009-phpapp01.pptx
howcssworks-100207024009-phpapp01.pptxhowcssworks-100207024009-phpapp01.pptx
howcssworks-100207024009-phpapp01.pptx
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSStructuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSS
 
cascading style sheet(css).pptx
cascading style sheet(css).pptxcascading style sheet(css).pptx
cascading style sheet(css).pptx
 
Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1
 
BITM3730Week4.pptx
BITM3730Week4.pptxBITM3730Week4.pptx
BITM3730Week4.pptx
 
Introduction to CSS in HTML.ppt
Introduction to CSS in HTML.pptIntroduction to CSS in HTML.ppt
Introduction to CSS in HTML.ppt
 
Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
 
CSS.ppt
CSS.pptCSS.ppt
CSS.ppt
 
Introducing Cascading Style Sheets
Introducing Cascading Style SheetsIntroducing Cascading Style Sheets
Introducing Cascading Style Sheets
 
Web topic 15 1 basic css layout
Web topic 15 1  basic css layoutWeb topic 15 1  basic css layout
Web topic 15 1 basic css layout
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptxINFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
 
Css
CssCss
Css
 
Css ms megha
Css ms meghaCss ms megha
Css ms megha
 
HTML and CSS Coding Standards
HTML and CSS Coding StandardsHTML and CSS Coding Standards
HTML and CSS Coding Standards
 
CSS
CSSCSS
CSS
 

Mais de Osama Ghandour Geris

functions in python By Eng. Osama Ghandour الدوال فى البايثون مع مهندس اسامه ...
functions in python By Eng. Osama Ghandour الدوال فى البايثون مع مهندس اسامه ...functions in python By Eng. Osama Ghandour الدوال فى البايثون مع مهندس اسامه ...
functions in python By Eng. Osama Ghandour الدوال فى البايثون مع مهندس اسامه ...Osama Ghandour Geris
 
Python week 5 2019-2020 for G10 by Eng.Osama Ghandour.ppt
Python week 5 2019-2020 for G10 by Eng.Osama Ghandour.pptPython week 5 2019-2020 for G10 by Eng.Osama Ghandour.ppt
Python week 5 2019-2020 for G10 by Eng.Osama Ghandour.pptOsama Ghandour Geris
 
Python cs.1.12 week 10 2020 2021 covid 19 for g10 by eng.osama mansour
Python cs.1.12 week 10  2020 2021 covid 19 for g10 by eng.osama mansourPython cs.1.12 week 10  2020 2021 covid 19 for g10 by eng.osama mansour
Python cs.1.12 week 10 2020 2021 covid 19 for g10 by eng.osama mansourOsama Ghandour Geris
 
Python cs.1.12 week 9 10 2020-2021 covid 19 for g10 by eng.osama ghandour
Python cs.1.12 week 9 10  2020-2021 covid 19 for g10 by eng.osama ghandourPython cs.1.12 week 9 10  2020-2021 covid 19 for g10 by eng.osama ghandour
Python cs.1.12 week 9 10 2020-2021 covid 19 for g10 by eng.osama ghandourOsama Ghandour Geris
 
Python week 7 8 2019-2020 for grade 10
Python week 7 8 2019-2020 for grade 10Python week 7 8 2019-2020 for grade 10
Python week 7 8 2019-2020 for grade 10Osama Ghandour Geris
 
Python week 6 2019 2020 for grade 10
Python week 6 2019 2020 for grade 10 Python week 6 2019 2020 for grade 10
Python week 6 2019 2020 for grade 10 Osama Ghandour Geris
 
Python week 5 2019 2020 for g10 by eng.osama ghandour
Python week 5 2019 2020 for g10 by eng.osama ghandourPython week 5 2019 2020 for g10 by eng.osama ghandour
Python week 5 2019 2020 for g10 by eng.osama ghandourOsama Ghandour Geris
 
Python week 4 2019 2020 for g10 by eng.osama ghandour
Python week 4 2019 2020 for g10 by eng.osama ghandourPython week 4 2019 2020 for g10 by eng.osama ghandour
Python week 4 2019 2020 for g10 by eng.osama ghandourOsama Ghandour Geris
 
Programming intro variables constants - arithmetic and assignment operators
Programming intro variables   constants - arithmetic and assignment operatorsProgramming intro variables   constants - arithmetic and assignment operators
Programming intro variables constants - arithmetic and assignment operatorsOsama Ghandour Geris
 
Mobile appliaction w android week 1 by osama
Mobile appliaction w android week 1 by osamaMobile appliaction w android week 1 by osama
Mobile appliaction w android week 1 by osamaOsama Ghandour Geris
 
How to print a sketch up drawing in 3d
How to print a sketch up drawing  in 3dHow to print a sketch up drawing  in 3d
How to print a sketch up drawing in 3dOsama Ghandour Geris
 
7 types of presentation styles on line
7 types of presentation styles on line7 types of presentation styles on line
7 types of presentation styles on lineOsama Ghandour Geris
 
Design pseudo codeweek 6 2019 -2020
Design pseudo codeweek 6 2019 -2020Design pseudo codeweek 6 2019 -2020
Design pseudo codeweek 6 2019 -2020Osama Ghandour Geris
 

Mais de Osama Ghandour Geris (20)

functions in python By Eng. Osama Ghandour الدوال فى البايثون مع مهندس اسامه ...
functions in python By Eng. Osama Ghandour الدوال فى البايثون مع مهندس اسامه ...functions in python By Eng. Osama Ghandour الدوال فى البايثون مع مهندس اسامه ...
functions in python By Eng. Osama Ghandour الدوال فى البايثون مع مهندس اسامه ...
 
Python week 5 2019-2020 for G10 by Eng.Osama Ghandour.ppt
Python week 5 2019-2020 for G10 by Eng.Osama Ghandour.pptPython week 5 2019-2020 for G10 by Eng.Osama Ghandour.ppt
Python week 5 2019-2020 for G10 by Eng.Osama Ghandour.ppt
 
Python cs.1.12 week 10 2020 2021 covid 19 for g10 by eng.osama mansour
Python cs.1.12 week 10  2020 2021 covid 19 for g10 by eng.osama mansourPython cs.1.12 week 10  2020 2021 covid 19 for g10 by eng.osama mansour
Python cs.1.12 week 10 2020 2021 covid 19 for g10 by eng.osama mansour
 
Python cs.1.12 week 9 10 2020-2021 covid 19 for g10 by eng.osama ghandour
Python cs.1.12 week 9 10  2020-2021 covid 19 for g10 by eng.osama ghandourPython cs.1.12 week 9 10  2020-2021 covid 19 for g10 by eng.osama ghandour
Python cs.1.12 week 9 10 2020-2021 covid 19 for g10 by eng.osama ghandour
 
Python week 7 8 2019-2020 for grade 10
Python week 7 8 2019-2020 for grade 10Python week 7 8 2019-2020 for grade 10
Python week 7 8 2019-2020 for grade 10
 
Python week 6 2019 2020 for grade 10
Python week 6 2019 2020 for grade 10 Python week 6 2019 2020 for grade 10
Python week 6 2019 2020 for grade 10
 
Python week 5 2019 2020 for g10 by eng.osama ghandour
Python week 5 2019 2020 for g10 by eng.osama ghandourPython week 5 2019 2020 for g10 by eng.osama ghandour
Python week 5 2019 2020 for g10 by eng.osama ghandour
 
Python week 4 2019 2020 for g10 by eng.osama ghandour
Python week 4 2019 2020 for g10 by eng.osama ghandourPython week 4 2019 2020 for g10 by eng.osama ghandour
Python week 4 2019 2020 for g10 by eng.osama ghandour
 
Programming intro variables constants - arithmetic and assignment operators
Programming intro variables   constants - arithmetic and assignment operatorsProgramming intro variables   constants - arithmetic and assignment operators
Programming intro variables constants - arithmetic and assignment operators
 
Mobile appliaction w android week 1 by osama
Mobile appliaction w android week 1 by osamaMobile appliaction w android week 1 by osama
Mobile appliaction w android week 1 by osama
 
Python week 1 2020-2021
Python week 1 2020-2021Python week 1 2020-2021
Python week 1 2020-2021
 
Cooding history
Cooding history Cooding history
Cooding history
 
Computer networks--network
Computer networks--networkComputer networks--network
Computer networks--network
 
How to print a sketch up drawing in 3d
How to print a sketch up drawing  in 3dHow to print a sketch up drawing  in 3d
How to print a sketch up drawing in 3d
 
Google sketch up-tutorial
Google sketch up-tutorialGoogle sketch up-tutorial
Google sketch up-tutorial
 
7 types of presentation styles on line
7 types of presentation styles on line7 types of presentation styles on line
7 types of presentation styles on line
 
Design pseudo codeweek 6 2019 -2020
Design pseudo codeweek 6 2019 -2020Design pseudo codeweek 6 2019 -2020
Design pseudo codeweek 6 2019 -2020
 
Php introduction
Php introductionPhp introduction
Php introduction
 
How to use common app
How to use common appHow to use common app
How to use common app
 
Creating databases using xampp w2
Creating databases using xampp w2Creating databases using xampp w2
Creating databases using xampp w2
 

Último

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 

Último (20)

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 

Css week10 2019 2020 for g10 by eng.osama ghandour

  • 1. Agenda 1- Warm up revision about HTML 10 min 2- ppt teacher demonstrate about CSS 15m 3- Video about CSS Selectors 5min 4- Practical work Students divided in pairs and use notepad or Atom , explorer to create very simple web page using CSS30m 7- Questions and answers as pretest about CSS 5 min 8-Refelection 5 min 9- Home work 5 min CSS
  • 2. LO CS.1.06 - Identify and explain the addition of a style to web site by using cascading style sheets (CSS). Lesson plan CSS
  • 3. Warm Up Listen to this video Offline On line CSS
  • 4. Essential Question How can we add a style (inline, internal and external) to a web site? ?
  • 5. • Using on line resources for html5 code , CSS code , etc … • Ex : w3school , sololearn 5 CSS
  • 6. HTML template <!DOCTYPE html> <html lang="en"> <head> <title>STEM Education</title> <meta charset="utf-8"> </head> <body> hdgjadhgakf</body> </html> CSS
  • 7. Favorite Sites <!DOCTYPE html> <html lang="en"> <head> <title> </title> <meta charset="UTF-8"> <style> </style> // for header and article and img <script> </script> </head> <body> <h1> content: header, article for each site </h1> </body> </html> CSS
  • 8. Warm Up Listen to this video Offline On line CSS
  • 9. Practical work Students divided in groups and use notepad , , online resources to create very simple portfolio or school web page 30 min CSS
  • 10. Check your email to Solve the Online auto answered quiz 15 min after school the quiz will be closed in 10:00pm after tomorrow CSS
  • 11. Warm up revision 11 1.HTML Forms). 2. Multimedia (sound, music, videos, movies, and animations) 3 . Make validation. CSS
  • 14. 14 Core Attributes Id Title Class Style <p id="html">This para explains what is HTML</p> <p id="css">This para explains what is Cascading Style Sheet</p> <p style="font-family:arial; color:#FF0000;">Some text...</p> <h3 title="Hello HTML!">Titled Heading Tag Example</h3> CSS
  • 15. 15 The class Attribute The class attribute is used to associate an element with a style sheet, and specifies the class of element. You will learn more about the use of the class attribute when you will learn Cascading Style Sheet (CSS). So for now you can avoid it. The value of the attribute may also be a space- separated list of class names. For example: class="className1 className2 className3" CSS
  • 19. 19 Page Redirection You can use <meta> tag to redirect your page to any other webpage. You can also specify a duration if you want to redirect the page after a certain number of seconds. Example Following is an example of redirecting current page to another page after 5 seconds. If you want to redirect page immediately then do not specify content attribute. Web addressCSS
  • 20. 20 <head> <title>Meta Tags Example</title> <meta name="keywords" content="HTML, Meta Tags, Metadata" /> <meta name="description" content="Learning about Meta Tags." /> <meta http-equiv="refresh" content="5; url=http://www.tutorialspoint.com" /> </head> Web address CSS
  • 21. 21 <head> <title>Meta Tags Example</title> <meta name="keywords" content="HTML, Meta Tags, Metadata" /> <meta name="description" content="Learning about Meta Tags." /> <meta http-equiv="refresh" content="5; url=http://www.tutorialspoint.com" /> </head> Web address CSS
  • 23. 23 <head> <title>Meta Tags Example</title> <meta name="keywords" content="HTML, Meta Tags, Metadata" /> <meta name="description" content="Learning about Meta Tags." /> <meta http-equiv="refresh" content="5; url=http://www.tutorialspoint.com" /> </head> Web address CSS
  • 26. Open your previous web page 26 CSS
  • 27. Question ?? How to create a form inside a web page 27 CSS
  • 28. The code for form 28 CSS
  • 29. To send the form to e.mail instead of database 29 <form action="/action_page.php" method="get"> <form action="/action_page.php" method="post"> <form action ="mailto:you@yourwebsite.com"> <form action="mailto:you@yourwebsite.com"> CSS
  • 30. Differences Between Get and Post - Web Development 30
  • 31. Differences Between Get and Post - Web Development Listen to this video Offline On line CSS
  • 32. Validation : tray it on line such as in w3schools 32 CSS
  • 33. Form validation in html5 without using Java Script Listen to this video Offline On line CSS
  • 34. Summary video Listen to this video Offline On line CSS
  • 35. 35 Learn and practice through on line web sites https://www.thewebevolved.com https://www.123test.com/ https://www.wscubetech.com/ https://www.w3schools.com/php/php_quiz.asp https://www.guru99.com https://codescracker.com/exam/review.php https://www.arealme.com/left-right-brain/en/ https://www.javatpoint.com/c-quiz https://www.proprofs.com/ https://www.geeksforgeeks.org/ https://www.tutorialspoint.com https://www.sololearn.com/Course/HTML http://www.littlewebhut.com/ CSS
  • 38. The code for Audio and Video 38 CSS
  • 39. What we learn today 1.CSS term. 2. Style attribute / Style element. 3. Inline styles / Multiple styles. 4. CSS syntax (Selector - Rules). 39 CSS
  • 40. • CSS Introduction • What is CSS? • CSS stands for Cascading Style Sheets • CSS describes how HTML elements are to be displayed on screen, paper, or in other media • CSS saves a lot of work. It can control the layout of multiple web pages all at once • External stylesheets are stored in CSS files 40 CSS
  • 41. CSS Syntax CSS is composed of style rules that the browser interprets and then applies to the corresponding elements in your document. A style rule has three parts: selector, property, and value. For example, the headline color can be defined as: h1 { color: orange; }
  • 42. CSS Selectors - Tag, ID, Class, Attribute Listen to this video Offline On line Offline On line CSS
  • 43. Styles' locations Inline --- inside any tag in Body Internal styles --- inside style tag in Head External --- CSS file inside link tag in Head 43 CSS Style sheet or style element — not both!
  • 45. internal styles : are defined within the <style> element, inside the head section of an HTML page. <head> <style> p { color:white; background-color:gray; } </style> </head> 45 CSS
  • 46. <head> <link rel="stylesheet" href="example.css"> </head> 46 CSSExternal CSS With this method, all styling rules are contained in a single text file, which is saved with the .css extension
  • 47. Attaching a CSS file <link> • A page can link to multiple style sheet files – In case of a conflict (two sheets define a style for the same HTML element), the latter sheet's properties will be used 47 <head> ... <link href="filename" type="text/css" rel="stylesheet" /> ... </head> HTML <link href="style.css" type="text/css" rel="stylesheet" /> <link href="http://www.google.com/uds/css/gsearch.css" rel="stylesheet" type="text/css" /> HTML CS380
  • 48. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s Style Sheet Languages • Cascading Style Sheets (CSS) – Applies to (X)HTML as well as XML documents in general – Focus of this chapter • Extensible Stylesheet Language (XSL) – Often used to transform one XML document to another form, but can also add style – XSL Transformations covered in later chapter
  • 49. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction • A styled HTML document produced by the style sheet style1.css:
  • 50. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction link element associates style sheet with doc.
  • 51. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction type attribute specifies style language used
  • 52. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction href attribute provides style sheet URL
  • 53. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction title attribute provides style sheet name
  • 54. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction Alternative, user selectable style sheets can be specified
  • 55. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction
  • 56. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction • A styled HTML document produced by the style sheet style2.css:
  • 57. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction Note that alternate, user selectable style is not widely supported: firefox 3 and IE 8 do, but IE 6, IE 7 and Chrome don’t.
  • 58. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Introduction • Single document can be displayed on multiple media platforms by tailoring style sheets: This document will be printed differently than it is displayed.
  • 59. Be Efficient 59 Time consuming - Inline styling - Embedded (internal) style sheets Quicker and easier - External style sheets
  • 61. Each element / selector has the following: 61 CSS
  • 62. 62
  • 63. Types of selectors Listen to this video Offline On line Offline On line CSS
  • 64. Types of selectors 64 CSS 1- Element selector
  • 65. Types of selectors 65 CSS 2- class selector Multiple elements
  • 68. Types of selectors 68 CSS 2- id selector limited to one element
  • 69. Types of selectors 69 CSS 2- id selector limited to one element
  • 70. Types of selectors 70 CSS Selector may be a combination like :
  • 71. Grouping styles 71 p, h1, h2 { color: green; } h2 { background-color: yellow; } CSS This paragraph uses the above style. output This h2 uses the above styles. • A style can select multiple elements separated by commas • The individual elements can also have their own styles CS380
  • 72. CSS comments /*…*/ 72 /* This is a comment. It can span many lines in the CSS file. */ p { color: red; background-color: aqua; } CSS • CSS (like HTML) is usually not commented as rigorously as programming languages such as Java • The // single-line comment style is NOT supported in CSS • The <!-- ... --> HTML comment style is also NOT supported in CSS CS380
  • 73. • The HTML:<p class="first"> Border width of this paragraph is set to 2px. </p> <p class="second"> Border width of this paragraph is set to 5px. </p> The CSS: • p.first { padding: 10px; border-style: solid; border-width: 2px; } p.second { padding: 10px; border-style: solid; border-width: 5px; }Try It Yourself 73
  • 74. Cascading Style Sheets • Properties of an element cascade together in this order: – browser's default styles – external style sheet files (in a <link> tag) – internal style sheets (inside a <style> tag in the page's header) – inline style (the style attribute of the HTML element) CS380 74
  • 75. 75 How CSS Works — Matching • Every XHTML document represents a document tree • The browser uses the tree to determine which rules apply • What about inheritance? And conflicts?
  • 76. 76
  • 77. Inheriting styles 77 body { font-family: sans-serif; background-color: yellow; } p { color: red; background-color: aqua; } a { text-decoration: underline; } h2 { font-weight: bold; text-align: center; } CSS This is a heading • A bulleted list output • when multiple styles apply to an element, they are inherited • a more tightly matching rule can override a more general inherited rule A styled paragraph. Previous slides are available on the website. CS380
  • 78. Styles that conflict 78 p, h1, h2 { color: blue; font-style: italic; } h2 { color: red; background-color: yellow; } CSS This paragraph uses the first style above. output • when two styles set conflicting values for the same property, the latter style takes precedence This heading uses both styles above. CS380
  • 79. CSS Syntax Listen to this video Offline On line Offline On line CSS
  • 80. CSS Syntax CSS is composed of style rules that the browser interprets and then applies to the corresponding elements in your document. A style rule has three parts: selector, property, and value. For example, the headline color can be defined as: h1 { color: orange; }
  • 85. Basic CSS rule syntax • A CSS file consists of one or more rules • Each rule starts with a selector • A selector specifies an HTML element(s) and then applies style properties to them – a selector of * selects all elements 85 selector { property: value; property: value; ... property: value; } CSS p { font-family: sans-serif; color: red; } CSS
  • 86. Each element / selector has the following: 86 CSS
  • 87. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax • Parts of a style rule (or statement)
  • 88. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax: Selector Strings • Single element type: • Multiple element types: • All element types: • Specific elements by id:
  • 89. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax: Selector Strings
  • 90. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax: Selector Strings • Elements belonging to a style class: – Referencing a style class in HTML: • Elements of a certain type and class: class selector: begins with a period .
  • 91. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax: Selector Strings • Elements belonging to a style class: – Referencing a style class in HTML: • Elements of a certain type and class: this span belongs to three style classes
  • 92. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax: Selector Strings • Elements belonging to a style class: – Referencing a style class in HTML: • Elements of a certain type and class: this rule applies only to span’s belonging to class special
  • 93. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax: Selector Strings • Source anchor elements: • Element types that are descendents:pseudo-classes
  • 94. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax: Selector Strings • Source anchor elements: • Element types that are descendants: rule applies to li element that is
  • 95. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax: Selector Strings • Source anchor elements: • Element types that are descendants: rule applies to li element that is part of the content of an ol element
  • 96. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax: Selector Strings • Source anchor elements: • Element types that are descendants: rule applies to li element that is part of the content of an ol element that is part of the content of a ul element
  • 97. Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson’s CSS Syntax • Style rules covered thus far follow ruleset syntax • At-rule is a second type of rule – Reads style rules from specified URL – Must appear at beginning of style sheet URL relative to style sheet URL
  • 98. CSS Selectors - Tag, ID, Class, Attribute Listen to this video Offline On line Offline On line CSS
  • 102. CSS properties for fonts property description font-family which font will be used font-size how large the letters will be drawn font-style used to enable/disable italic style font-weight used to enable/disable bold style CS380 102 Complete list of font properties (http://www.w3schools.com/css/css_reference.asp#fo
  • 103. CSS properties for text property description text-align alignment of text within its element text-decoration decorations such as underlining line-height, word-spacing, letter-spacing gaps between the various portions of the text text-indent indents the first letter of each paragraph CS380 103 Complete list of text properties (http://www.w3schools.com/css/css_reference.asp#te
  • 104. CSS properties for text property description text-align alignment of text within its element text-decoration decorations such as underlining line-height, word-spacing, letter-spacing gaps between the various portions of the text text-indent indents the first letter of each paragraph CS380 104 Complete list of text properties (http://www.w3schools.com/css/css_reference.asp#te
  • 105. Boxes (Content – Padding – Border - Margin) Listen to this video Offline On line Offline On line CSS
  • 106. Boxes (Content – Padding – Border - Margin) 106
  • 107. Boxes (Content – Padding – Border - Margin) 107
  • 108. Boxes (Content – Padding – Border - Margin) 108
  • 109. Boxes (Content – Padding – Border - Margin) Listen to this video Offline On line Offline On line CSS
  • 110. Boxes (Content – Padding – Border - Margin) 110 CSS
  • 111. 111 CSS Boxes (Content – Padding – Border - Margin)
  • 112. • The HTML:<p class="first"> Border width of this paragraph is set to 2px. </p> <p class="second"> Border width of this paragraph is set to 5px. </p> The CSS: • p.first { padding: 10px; border-style: solid; border-width: 2px; } p.second { padding: 10px; border-style: solid; border-width: 5px; }Try It Yourself 112
  • 113. 2. Change the layout of a web page. 113 CSS
  • 114. 3. Access Developer Tools in your browser. 114 CSS
  • 116. 7. CSS property for setting an element. 116 CSS
  • 117. 117 Learn and practice through on line web sites http://www.w3schools.com/tags/tag_div.asp http://www.quackit.com/html_5/tags/html_div_tag.cfm https://www.sololearn.com/Course/HTML/ https://www.freecodecamp.org CSS
  • 118. Sumarry 118 1.CSS term. 2. Style attribute / Style element. 3. Inline styles / Multiple styles. 4. CSS syntax (Selector - Rules). CSS
  • 119. Prepare for next week according to student’s law Gn=Wn % Ng 5. Selectors (Type - Class and ID). 6. External CCS file. 7. Boxes (Content – Padding – Border - Margin).119 CSS
  • 120. Reflection • What is your goal to accomplish in next week End Using HTML and CSS? CSS
  • 121. Home work (s. proj.) 1 create individually a very simple web page about one of your hopes or favorites you should include 5 sentences ,1 picture , 1 video , 1 audio , 1 link , forum and 1 CSS in an index.htm and include it and the picture in folder named with your name and class . Note your project will be evaluated for semester garding 121 CSS
  • 122. Home work (s. proj.) 2 search and find away to communicate what you achieved from your home work 1 such as to upload the pages you designed to google site . 122 CSS
  • 123. Resources • https://www.youtube.com/watch?v=Rtww83GH 0BU • Other materials: https://www.sololearn.com/Course/CSS/ https://www.w3schools.com/css/default.asp http://www.quackit.com/html_5/tags/html_div_ta g.cfm https://www.sololearn.com/Course/css/ 123 CSS
  • 124. Thanks Engineer and educator/ Osama G. Geris CSS